25 lines
796 B
Plaintext
25 lines
796 B
Plaintext
@model Dictionary<SharedLibraryCore.Database.Models.EFClient.Permission, IList<SharedLibraryCore.Dtos.ClientInfo>>
|
|
|
|
<h4 class="pb-3 text-center ">@ViewBag.Title</h4>
|
|
|
|
<div class="row border-bottom">
|
|
@{
|
|
foreach (var key in Model.Keys)
|
|
{
|
|
<div class="col-12 bg-primary pt-2 pb-2">
|
|
@Utilities.ToLocalizedLevelName(key)
|
|
</div>
|
|
|
|
<div class="col-12 bg-dark pt-2 pb-2">
|
|
@foreach (var client in Model[key])
|
|
{
|
|
<a asp-controller="Client" asp-action="ProfileAsync" asp-route-id="@client.ClientId">
|
|
<color-code value="@client.Name"></color-code>
|
|
</a>
|
|
<br />
|
|
}
|
|
</div>
|
|
}
|
|
}
|
|
</div>
|