Revize c1728264
Přidáno uživatelem Dominik Chlouba před téměř 4 roky(ů)
src/Modules/Goal/Application/Leuze.Modules.Goal.Application.UI/Pages/Components/GoalDetailAside.razor | ||
---|---|---|
22 | 22 |
<button class="authorize_button accepted">Schválit</button> |
23 | 23 |
<button class="authorize_button">Zamítnout</button> |
24 | 24 |
} |
25 |
else
|
|
25 |
@for (var i = 0; i < DetailItem.Reviews.Where(o => !o.IsFinal).ToList().Count; i++)
|
|
26 | 26 |
{ |
27 |
<button class="authorize_button accepted">Schváleno</button> |
|
27 |
<div class="review_button accepted" @onclick="() =>SetReviewId(Guid.NewGuid())"> |
|
28 |
@(i + 1) <i class="fal fa-trophy"></i> |
|
29 |
</div> |
|
28 | 30 |
} |
29 |
<div class="review_button accepted" @onclick="() =>SetReviewId(Guid.NewGuid())"> |
|
30 |
1 <i class="fal fa-trophy"></i> |
|
31 |
</div> |
|
32 |
<div class="review_button accepted" title="zkouška" @onclick="() =>SetReviewId(Guid.NewGuid())"> |
|
33 |
2 <i class="fal fa-trophy"></i> |
|
34 |
</div> |
|
35 |
<div class="review_button" @onclick="() =>SetReviewId(Guid.NewGuid())"> |
|
31 |
@if (DetailItem.Reviews.Where(o => o.IsFinal).Count() > 0) |
|
32 |
{ |
|
33 |
<div class="review_button" @onclick="() => SetReviewId(Guid.NewGuid())"> |
|
36 | 34 |
<i class="fal fa-trophy-alt"></i> |
37 |
</div> |
|
38 |
<button class="authorize_button" @onclick="() =>SetReviewId(Guid.NewGuid())">Vytvořit 1. hodnocení</button> |
|
35 |
</div> |
|
36 |
} |
|
37 |
@if (DetailItem.Reviews.Count < 3) |
|
38 |
{ |
|
39 |
<button class="authorize_button" @onclick="() =>SetReviewId(Guid.NewGuid())">Vytvořit @(DetailItem.Reviews.Count < 2 ? DetailItem.Reviews.Count + 1 : "finální"). hodnocení</button> |
|
40 |
} |
|
39 | 41 |
</div> |
40 | 42 |
<div> |
41 | 43 |
<div class="close_button" @onclick="Close"> |
... | ... | |
45 | 47 |
</div> |
46 | 48 |
<div class="goal_detail_body"> |
47 | 49 |
<div class="goal_detail_area"> |
48 |
<input class="goal_name" type="text" placeholder="Zadejte název cíle" @bind-value="Name" /> |
|
50 |
<input class="goal_name" type="text" placeholder="Zadejte název cíle" disabled="@(DetailItem.SupervisorLocked || DetailItem.OwnerLocked)" @bind-value="Name" />
|
|
49 | 51 |
<div class="goal_description_title">Popis cíle</div> |
50 | 52 |
<textarea oninput='this.style.height = "";this.style.height = this.scrollHeight + "px"' |
51 |
class="goal_description" placeholder="Vyplňte popis cíle" @bind="Description"></textarea> |
|
53 |
class="goal_description" placeholder="Vyplňte popis cíle" @bind="Description" disabled="@(DetailItem.SupervisorLocked || DetailItem.OwnerLocked)"></textarea>
|
|
52 | 54 |
<button class="edit_goal_desc" @onclick="EditGoal">Uložit změny</button> |
53 | 55 |
</div> |
54 | 56 |
<div class="goal_communication_area"> |
Také k dispozici: Unified diff
Review icons conditions