From 09ef6914d38861f8eba87e881a6e8e83190d3bd1 Mon Sep 17 00:00:00 2001 From: JoeGLauria <129402373+JoeGLauria@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:21:54 +0000 Subject: [PATCH] fix(register) : add sentence for when no identity profile is selected --- DVSRegister/Views/Register/ProviderDetails.cshtml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/DVSRegister/Views/Register/ProviderDetails.cshtml b/DVSRegister/Views/Register/ProviderDetails.cshtml index 93e7e26..846a996 100644 --- a/DVSRegister/Views/Register/ProviderDetails.cshtml +++ b/DVSRegister/Views/Register/ProviderDetails.cshtml @@ -100,15 +100,21 @@ Identity profiles
- @foreach (var item in service.ServiceIdentityProfileMapping) + @if (service.ServiceIdentityProfileMapping != null && service.ServiceIdentityProfileMapping.Any()) { -
@item.IdentityProfile.IdentityProfileName
+ foreach (var item in service.ServiceIdentityProfileMapping) + { +
@item.IdentityProfile.IdentityProfileName
+ } + } + else + { +
Not certified against any identity profiles
}
} -
GPG44 quality of authenticator