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='/news.html') News
a.nav-item(href='/boards.html') Boards a.nav-item(href='/boards.html') Boards
a.nav-item(href='/account.html') Account 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 ⚙ a.jsonly.nav-item.right#settings ⚙

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

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

Loading…
Cancel
Save