Skip to content

Commit

Permalink
Merge pull request #323 from UKGovernmentBEIS/dvs-287-add-sentence-if…
Browse files Browse the repository at this point in the history
…-no-identity-profile-is-selected

fix(register) : add sentence for when no identity profile is selected
  • Loading branch information
KobithasanVasantharajah authored Dec 12, 2024
2 parents b72189d + 09ef691 commit b508934
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions DVSRegister/Views/Register/ProviderDetails.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,21 @@
Identity profiles
</dt>
<dd class="govuk-summary-list__value">
@foreach (var item in service.ServiceIdentityProfileMapping)
@if (service.ServiceIdentityProfileMapping != null && service.ServiceIdentityProfileMapping.Any())
{
<div>@item.IdentityProfile.IdentityProfileName</div>
foreach (var item in service.ServiceIdentityProfileMapping)
{
<div>@item.IdentityProfile.IdentityProfileName</div>
}
}
else
{
<div>Not certified against any identity profiles</div>
}
</dd>
</div>
}


<div class="govuk-summary-list__row">
<dt class="govuk-summary-list__key">
GPG44 quality of authenticator
Expand Down

0 comments on commit b508934

Please sign in to comment.