Skip to content

Commit

Permalink
fix(register) : add sentence for when no identity profile is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGLauria committed Dec 12, 2024
1 parent b07b6f9 commit 09ef691
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 09ef691

Please sign in to comment.