只有管理员才可以看通知栏
This commit is contained in:
parent
d92867df95
commit
e1eba5705f
|
@ -21,7 +21,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
}
|
}
|
||||||
@if (!Model.ShowMenu)
|
@if (!Model.ShowMenu && (LgbPrincipal.IsAdmin(User.Identity.Name) || User.IsInRole("Administrators")))
|
||||||
{
|
{
|
||||||
<!-- notification start -->
|
<!-- notification start -->
|
||||||
<ul class="notify-row">
|
<ul class="notify-row">
|
||||||
|
|
Loading…
Reference in New Issue