better display on globalmanage users table, navbar and account page info

merge-requests/208/head
fatchan 5 years ago
parent 5a14518a5c
commit 320a3fcabe
  1. 3
      views/includes/navbar.pug
  2. 2
      views/pages/account.pug
  3. 18
      views/pages/globalmanageaccounts.pug

@ -3,5 +3,6 @@ nav.navbar#top
a.nav-item(href='/news.html') News
a.nav-item(href='/boards.html') Boards
a.nav-item(href='/account.html') Account
a.nav-item(href=`/${board ? board._id+'/manage/reports' : 'globalmanage/recent'}.html`) Manage
if board
a.nav-item(href=`/${board._id}/manage/reports.html`) Manage
a.jsonly.nav-item.right#settings ⚙

@ -2,7 +2,7 @@ extends ../layout.pug
block head
script(src='/js/all.js')
title Manage
title Account
block content
.board-header

@ -28,13 +28,19 @@ block content
td #{account._id}
td #{account.authLevel}
td
for b in account.ownedBoards
a(href=`/${b}/index.html`) /#{b}/
|
if account.ownedBoards.length > 0
for b in account.ownedBoards
a(href=`/${b}/index.html`) /#{b}/
|
else
| -
td
for b in account.modBoards
a(href=`/${b}/index.html`) /#{b}/
|
if account.modBoards.length > 0
for b in account.modBoards
a(href=`/${b}/index.html`) /#{b}/
|
else
| -
.pages.mt-5
include ../includes/pages.pug
.row

Loading…
Cancel
Save