diff options
author | Thuan Pham Quoc <thuanpq.io@gmail.com> | 2017-11-07 14:01:27 +0700 |
---|---|---|
committer | Thuan Pham Quoc <thuanpq.io@gmail.com> | 2017-11-07 14:01:27 +0700 |
commit | 29d54f46aa79a5f3fe067717fa418092e150eb47 (patch) | |
tree | d925f590fddaa50bbf87398a55f51088e44f04e9 /client/components/settings/peopleBody.jade | |
parent | 2d12a4f40473bd152755e4ab1dadb943cb233c90 (diff) | |
download | wekan-29d54f46aa79a5f3fe067717fa418092e150eb47.tar.gz wekan-29d54f46aa79a5f3fe067717fa418092e150eb47.tar.bz2 wekan-29d54f46aa79a5f3fe067717fa418092e150eb47.zip |
Added people list in admin panel , just raw data right now, will add more features soon
Diffstat (limited to 'client/components/settings/peopleBody.jade')
-rw-r--r-- | client/components/settings/peopleBody.jade | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/client/components/settings/peopleBody.jade b/client/components/settings/peopleBody.jade new file mode 100644 index 00000000..726cc5ed --- /dev/null +++ b/client/components/settings/peopleBody.jade @@ -0,0 +1,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 }} |