Added links to settings to comply with 2.4.5 of WCAG 2.2

This commit is contained in:
2025-11-28 10:20:53 +01:00
parent 917e708a7e
commit b31afb7589
2 changed files with 15 additions and 1 deletions

View File

@@ -52,4 +52,13 @@
}
</div>
</div>
<div class="row text-center">
<div class="mb-4 d-flex flex-wrap gap-2 justify-content-center">
<a asp-controller="Settings" asp-action="User">@T["User settings"]</a>
@if (User.HasClaim(ClaimTypes.Role, "CanManageSettings"))
{
<a asp-controller="Settings" asp-action="Admin">@T["Admin settings"]</a>
}
</div>
</div>
</div>