Skip to content

Commit a51a950

Browse files
authored
Merge pull request #3088 from TechnologyEnhancedLearning/Develop/Fix/TD-5242-Issue-showing-Admin-link-as-active
TD-5242-Issue showing 'Admin' link as active on 'Super admin' section when re-registered the delegate account
2 parents 40cfeb7 + 1bd0203 commit a51a950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Views/SuperAdmin/Users/UserCentreAccounts.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
{
5959
if (centreRow.CentreId == admin.CentreId)
6060
{
61-
<a asp-action="RedirectToAdmin" asp-route-AdminId="@admin.Id">Admin</a>
61+
<a asp-action="RedirectToAdmin" asp-route-AdminId="@admin.Id">Admin@(admin.Active ? "" : "(Inactive)")</a>
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)