Skip to content

Commit fffa334

Browse files
author
Auldrin Possa
committed
TD-5438-Moved the 'View Proficiencies' button to the top.
1 parent 8158abd commit fffa334

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

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

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,6 @@
2929
{
3030
<partial name="_NonReportableSelfAssessment" />
3131
}
32-
@if (Model.IsSupervised)
33-
{
34-
<div class="nhsuk-grid-row">
35-
<div class="nhsuk-grid-column-two-thirds">
36-
@(Html.Raw(Model.Description))
37-
</div>
38-
<div class="nhsuk-grid-column-one-third">
39-
<partial name="Shared/_SupervisorsCard"
40-
model="@Model.Supervisors" />
41-
</div>
42-
</div>
43-
}
44-
else
45-
{
46-
<div class="nhsuk-u-reading-width">@(Html.Raw(Model.Description))</div>
47-
}
48-
4932
@if (Model.LinearNavigation)
5033
{
5134
<a role="button" class="nhsuk-button @(Model.UserBookmark != null || bookmarkIsRelevant ? "nhsuk-button--secondary" : "") trigger-loader" asp-action="AddOptionalCompetencies" asp-route-selfAssessmentId="@Model.Id" asp-route-vocabulary="@Model.VocabPlural">View @Model.VocabPlural</a>
@@ -72,6 +55,19 @@ else
7255
<a role="button" class="nhsuk-button nhsuk-button--secondary trigger-loader" href="@Configuration["AppRootPath"]@Model.UserBookmark">Continue where I left off</a>
7356
}
7457
}
75-
76-
77-
58+
@if (Model.IsSupervised)
59+
{
60+
<div class="nhsuk-grid-row">
61+
<div class="nhsuk-grid-column-two-thirds">
62+
@(Html.Raw(Model.Description))
63+
</div>
64+
<div class="nhsuk-grid-column-one-third">
65+
<partial name="Shared/_SupervisorsCard"
66+
model="@Model.Supervisors" />
67+
</div>
68+
</div>
69+
}
70+
else
71+
{
72+
<div class="nhsuk-u-reading-width">@(Html.Raw(Model.Description))</div>
73+
}

0 commit comments

Comments
 (0)