blob: 726cc5ed9179b5d96e4e11dd3f3b013a49f9e0eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
template(name="people")
.setting-content
unless currentUser.isAdmin
| {{_ 'error-notAuthorized'}}
else
.content-title
span {{_ 'people'}}
.content-body
.side-menu
ul
li.active
a.js-setting-menu(data-id="people-setting") {{_ 'people'}}
.main-body
if loading.get
+spinner
else if people.get
+peopleGeneral
template(name="peopleGeneral")
table
tbody
each user in peopleList
tr
th {{_ 'username'}}
th {{_ 'fullname'}}
th {{_ 'isAdmin'}}
th {{_ 'email'}}
th {{_ 'verified'}}
th {{_ 'createdAt'}}
tr
td {{ user.username }}
td {{ user.profile.fullname }}
td {{ user.isAdmin }}
td {{ user.emails.[0].address }}
td {{ user.emails.[0].verified }}
td {{ user.createdAt }}
|