Skip to content

Commit

Permalink
swapped some logic around for no qualifications
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielClarkeEducation committed Aug 14, 2024
1 parent 37557d5 commit e27ee92
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
<strong>
@if (Model.Qualifications.Count > 0)
{
@(Model.Qualifications.Count + " " + Model.MultipleQualificationsFoundText)
@(Model.Qualifications.Count + " " + (Model.Qualifications.Count == 1 ? Model.SingleQualificationFoundText : Model.MultipleQualificationsFoundText))
}
else
{
@(Model.NoQualificationsFoundText + " " + (Model.Qualifications.Count == 1 ? Model.SingleQualificationFoundText : Model.MultipleQualificationsFoundText))
@(Model.NoQualificationsFoundText + " " + Model.MultipleQualificationsFoundText)
}
</strong>
</h3>
Expand Down

0 comments on commit e27ee92

Please sign in to comment.