mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Added links to settings to comply with 2.4.5 of WCAG 2.2
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user