Skip to content

Commit 08e533d

Browse files
committed
TD-4774 UIChangesOnProficienciesPage
1 parent 8588475 commit 08e533d

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
@section mobilebacklink
44-
{
44+
{
4545
<p class="nhsuk-breadcrumb__back">
4646
<a class="nhsuk-breadcrumb__backlink" asp-action="SelfAssessment"
4747
asp-route-selfAssessmentId="@Model.SelfAssessment.Id">
@@ -64,10 +64,25 @@
6464
view-data="@(new ViewDataDictionary(ViewData) { { "IsSupervisorResultsReviewed", Model.SelfAssessment.IsSupervisorResultsReviewed } })" />
6565
</div>
6666
}
67+
<partial name="_OverviewActionButtons.cshtml" model=Model />
68+
@if (competencyQuestionsSummary == competencyVerifiedSummary)
69+
{
70+
<div class="nhsuk-warning-callout">
71+
<h3 class="nhsuk-warning-callout__label">
72+
<span role="text">
73+
<span class="nhsuk-u-visually-hidden">Important: </span>
74+
You need to add optional @(Model.VocabPlural().ToLower())
75+
</span>
76+
</h3>
77+
<p>
78+
Your self assessment does not contain enough optional @(Model.VocabPlural().ToLower()) to request sign off.
79+
Go to Manage optional @(Model.VocabPlural().ToLower()) to choose the optional @(Model.VocabPlural().ToLower()) that you wish to include.
80+
</p>
81+
</div>
82+
}
6783
<partial name="SelfAssessments/_SearchSelfAssessmentOverview"
6884
model="@Model.SearchViewModel"
6985
view-data="@(new ViewDataDictionary(ViewData) { { "parent", Model } })" />
70-
<partial name="_OverviewActionButtons.cshtml" model=Model />
7186
<p><span role="alert">@Model.CompetencyGroups.Sum(g => g.Count()) matching @Model.VocabPlural().ToLower()</span></p>
7287
@if (Model.CompetencyGroups.Any())
7388
{
@@ -200,13 +215,6 @@
200215
All required @Model.SelfAssessment.Vocabulary.ToLower() self-assessments must be completed and confirmed,
201216
before requesting @Model.SelfAssessment.SignOffRoleName sign off of the @Model.SelfAssessment.Name.
202217
</p>
203-
@if (competencyQuestionsSummary == competencyVerifiedSummary)
204-
{
205-
<p class="nhsuk-body-l">
206-
Your self assessment does not contain enough optional proficiencies to request sign off.
207-
Go to Manage Optional Competencies to choose the optional competencies that you wish to include..
208-
</p>
209-
}
210218
}
211219
</div>
212220
}

0 commit comments

Comments
 (0)