hide some links that have no permission for global staff

merge-requests/208/head
Thomas Lynch 4 years ago
parent dfdd102626
commit 01d11f9491
  1. 3
      views/pages/account.pug

@ -26,6 +26,7 @@ block content
a(href=`/globalmanage/boards.html`) Boards
| ,
a(href=`/globalmanage/globallogs.html`) Logs
if user.authLevel < 1
| ,
a(href=`/globalmanage/accounts.html`) Accounts
| ,
@ -64,6 +65,8 @@ block content
a(href=`/${b}/manage/settings.html`) Settings
| ,
a(href=`/${b}/manage/banners.html`) Banners
| ,
a(href=`/${b}/manage/custompages.html`) Custom PAges
else
p None
hr(size=1)

Loading…
Cancel
Save