mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Replaced text with icons for Groups permissions in view
This commit is contained in:
@@ -36,11 +36,11 @@
|
||||
{
|
||||
<tr>
|
||||
<td style="text-align: center">@userTableViewModel.Group</td>
|
||||
<td style="text-align: center">@userTableViewModel.CanInventorize</td>
|
||||
<td style="text-align: center">@userTableViewModel.CanManageUsers</td>
|
||||
<td style="text-align: center">@userTableViewModel.CanManageLocations</td>
|
||||
<td style="text-align: center">@userTableViewModel.CanManageAssets</td>
|
||||
<td style="text-align: center">@userTableViewModel.CanManageGroups</td>
|
||||
<td style="text-align: center">@(userTableViewModel.CanInventorize ? "☑️" : "❌")</td>
|
||||
<td style="text-align: center">@(userTableViewModel.CanManageUsers ? "☑️" : "❌")</td>
|
||||
<td style="text-align: center">@(userTableViewModel.CanManageLocations ? "☑️" : "❌")</td>
|
||||
<td style="text-align: center">@(userTableViewModel.CanManageAssets ? "☑️" : "❌")</td>
|
||||
<td style="text-align: center">@(userTableViewModel.CanManageGroups ? "☑️" : "❌")</td>
|
||||
<td style="text-align: center">
|
||||
<div class="d-flex gap-2 justify-content-center">
|
||||
<button class="btn btn-sm btn-primary">Update</button>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
|
||||
<ul class="navbar-nav flex-grow-1">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text" asp-area="" asp-controller="Home" asp-action="Index">@T["Home"]</a>
|
||||
<a class="nav-link text" asp-area="" asp-controller="Home" asp-action="Index">@T["Quick-Actions"]</a>
|
||||
</li>
|
||||
@if (User.Identity.IsAuthenticated)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user