Skip to content

Commit 75840e0

Browse files
TD-4323 Introduce "Optional" tag in the learner Self Assessment view
1 parent 9c8910d commit 75840e0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,16 @@
3434
<tbody class="nhsuk-table__body row-outer" id="[email protected]">
3535
<tr class="nhsuk-table__row first-row">
3636
<td rowspan="@competency.AssessmentQuestions.Count()" class="nhsuk-table__cell nhsuk-u-text-align-left">
37+
<span class="nhsuk-table-responsive__heading">@Model.First().Vocabulary </span>
3738
<div class="nhsuk-grid-row">
39+
<div class="nhsuk-grid-column-full">
40+
@if (competency.Optional)
41+
{
42+
<div class="card-filter-tag">
43+
<strong class="nhsuk-tag nhsuk-tag--blue">Optional</strong>
44+
</div>
45+
}
46+
</div>
3847
<div class="nhsuk-grid-column-full">
3948
<partial name="_CompetencyFlags"
4049
model="competency.CompetencyFlags" />

0 commit comments

Comments
 (0)