mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-19 22:41:55 +00:00
Added links to settings to comply with 2.4.5 of WCAG 2.2
This commit is contained in:
@@ -40,5 +40,10 @@
|
||||
<data name="Navigate from here or the navigation bar" xml:space="preserve">
|
||||
<value>Navigiere von hier oder über die Navigationsleiste</value>
|
||||
</data>
|
||||
|
||||
<data name="User settings" xml:space="preserve">
|
||||
<value>Einstellungen</value>
|
||||
</data>
|
||||
<data name="Admin settings" xml:space="preserve">
|
||||
<value>Administration</value>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -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