update webfront permission types
This commit is contained in:
parent
51e8b31e42
commit
d2cfd50e39
@ -59,7 +59,7 @@
|
|||||||
{
|
{
|
||||||
var levelColorClass = !ViewBag.Authorized || client.client.LevelInt == 0 ? "text-light-dm text-dark-lm" : $"level-color-{client.client.LevelInt}";
|
var levelColorClass = !ViewBag.Authorized || client.client.LevelInt == 0 ? "text-light-dm text-dark-lm" : $"level-color-{client.client.LevelInt}";
|
||||||
<div class="d-flex @(clientIndex.index == 1 ? "justify-content-start flex-row-reverse" : "")">
|
<div class="d-flex @(clientIndex.index == 1 ? "justify-content-start flex-row-reverse" : "")">
|
||||||
<has-permission entity="AdminMenu" required-permission="Update">
|
<has-permission entity="AdminMenu" required-permission="Write">
|
||||||
<a href="#actionModal" class="profile-action" data-action="kick" data-action-id="@client.client.ClientId" aria-hidden="true">
|
<a href="#actionModal" class="profile-action" data-action="kick" data-action-id="@client.client.ClientId" aria-hidden="true">
|
||||||
<i class="oi oi-circle-x font-size-12 @levelColorClass"></i>
|
<i class="oi oi-circle-x font-size-12 @levelColorClass"></i>
|
||||||
</a>
|
</a>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<a href="@Model.ConnectProtocolUrl" class="text-light align-self-center server-join-button" title="@Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_HOME_JOIN_DESC"]">
|
<a href="@Model.ConnectProtocolUrl" class="text-light align-self-center server-join-button" title="@Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_HOME_JOIN_DESC"]">
|
||||||
<i class="oi oi-play-circle ml-5 mr-5"></i>
|
<i class="oi oi-play-circle ml-5 mr-5"></i>
|
||||||
</a>
|
</a>
|
||||||
<has-permission entity="AdminMenu" required-permission="Update">
|
<has-permission entity="AdminMenu" required-permission="Write">
|
||||||
<!-- send message button -->
|
<!-- send message button -->
|
||||||
<a href="#actionModal" class="profile-action text-light align-self-center" data-action="chat" data-action-id="@Model.ID">
|
<a href="#actionModal" class="profile-action text-light align-self-center" data-action="chat" data-action-id="@Model.ID">
|
||||||
<i class="oi oi-chat ml-5 mr-5"></i>
|
<i class="oi oi-chat ml-5 mr-5"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user