File tree Expand file tree Collapse file tree 2 files changed +36
-36
lines changed
DigitalLearningSolutions.Web/Views/LearningPortal/Current Expand file tree Collapse file tree 2 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 137137 </div >
138138
139139 <div class =" body" >
140- <h3 class =" nhsuk-u-margin-bottom-3" >
141- Including the following optional proficiencies:
142- </h3 >
143- @foreach ( var entry in Model .CompetencyCountSelfAssessmentCertificate )
140+ @if (Model .CompetencyCountSelfAssessmentCertificate .Any ())
144141 {
145- <p class =" nhsuk-u-margin-bottom-2 nhsuk-body-s" >
146- @entry.CompetencyGroup - @entry.OptionalCompetencyCount
147- @if (@entry .OptionalCompetencyCount == 1 )
148- {
149- @Model.CompetencySelfAssessmentCertificates.Vocabulary
150- }
151- else
152- {
153- @Model.VocabPlural
154- }
155-
156- </p >
157-
142+ <h3 class =" nhsuk-u-margin-bottom-3" >
143+ Including the following optional proficiencies :
144+ </h3 >
145+ @foreach ( var entry in Model .CompetencyCountSelfAssessmentCertificate )
146+ {
147+ <p class =" nhsuk-u-margin-bottom-2 nhsuk-body-s" >
148+ @entry.CompetencyGroup - @entry.OptionalCompetencyCount
149+ @if (@entry .OptionalCompetencyCount == 1 )
150+ {
151+ @Model.CompetencySelfAssessmentCertificates.Vocabulary
152+ }
153+ else
154+ {
155+ @Model.VocabPlural
156+ }
157+ </p >
158+ }
158159 }
159-
160160 </div >
161161
162162 <div class =" footer" >
Original file line number Diff line number Diff line change 446446 </div >
447447
448448 <div class =" body" >
449- <h3 class =" nhsuk-u-margin-bottom-3" >
450- Including the following optional proficiencies:
451- </h3 >
452- @foreach ( var entry in Model .CompetencyCountSelfAssessmentCertificate )
449+ @if (Model .CompetencyCountSelfAssessmentCertificate .Any ())
453450 {
454- <p class =" nhsuk-u-margin-bottom-2 nhsuk-body-s" >
455- @entry.CompetencyGroup - @entry.OptionalCompetencyCount
456- @if (@entry .OptionalCompetencyCount == 1 )
457- {
458- @Model.CompetencySelfAssessmentCertificates.Vocabulary
459- }
460- else
461- {
462- @Model.VocabPlural
463- }
464-
465- </p >
466-
451+ <h3 class =" nhsuk-u-margin-bottom-3" >
452+ Including the following optional proficiencies :
453+ </h3 >
454+ @foreach ( var entry in Model .CompetencyCountSelfAssessmentCertificate )
455+ {
456+ <p class =" nhsuk-u-margin-bottom-2 nhsuk-body-s" >
457+ @entry.CompetencyGroup - @entry.OptionalCompetencyCount
458+ @if (@entry .OptionalCompetencyCount == 1 )
459+ {
460+ @Model.CompetencySelfAssessmentCertificates.Vocabulary
461+ }
462+ else
463+ {
464+ @Model.VocabPlural
465+ }
466+ </p >
467+ }
467468 }
468-
469469 </div >
470470
471471 <div class =" footer" >
You can’t perform that action at this time.
0 commit comments