diff options
author | Romulus Urakagi Tsai <urakagi@gmail.com> | 2020-02-13 09:02:26 +0000 |
---|---|---|
committer | Romulus Urakagi Tsai <urakagi@gmail.com> | 2020-02-13 09:02:26 +0000 |
commit | 4b196d537896f39fb76090020cb5851a699546eb (patch) | |
tree | 28e2e025ce90645ed360bb8c26ab39e6f40214e4 /client/components/settings/peopleBody.jade | |
parent | b34ed58289a3dae5838d3b621260938a3ecf52d5 (diff) | |
parent | 3fcde252f705f9527f7190517082a047714a4eec (diff) | |
download | wekan-4b196d537896f39fb76090020cb5851a699546eb.tar.gz wekan-4b196d537896f39fb76090020cb5851a699546eb.tar.bz2 wekan-4b196d537896f39fb76090020cb5851a699546eb.zip |
Merge branch 'master' of https://github.com/wekan/wekan into lib-change
Diffstat (limited to 'client/components/settings/peopleBody.jade')
-rw-r--r-- | client/components/settings/peopleBody.jade | 72 |
1 files changed, 54 insertions, 18 deletions
diff --git a/client/components/settings/peopleBody.jade b/client/components/settings/peopleBody.jade index ff343e37..b8a94337 100644 --- a/client/components/settings/peopleBody.jade +++ b/client/components/settings/peopleBody.jade @@ -5,16 +5,22 @@ template(name="people") else .content-title.ext-box .ext-box-left - span {{_ 'people'}} + span + i.fa.fa-users + | {{_ 'people'}} input#searchInput(placeholder="{{_ 'search'}}") - button#searchButton {{_ 'search'}} + button#searchButton + i.fa.fa-search + | {{_ 'search'}} .ext-box-right span {{_ 'people-number'}} #{peopleNumber} .content-body .side-menu ul li.active - a.js-setting-menu(data-id="people-setting") {{_ 'people'}} + a.js-setting-menu(data-id="people-setting") + i.fa.fa-users + | {{_ 'people'}} .main-body if loading.get +spinner @@ -39,28 +45,58 @@ template(name="peopleGeneral") template(name="peopleRow") tr - td.username {{ userData.username }} - td {{ userData.profile.fullname }} - td - if userData.isAdmin - | {{_ 'yes'}} - else - | {{_ 'no'}} - td {{ userData.emails.[0].address }} - td - if userData.emails.[0].verified - | {{_ 'yes'}} - else - | {{_ 'no'}} - td {{ moment userData.createdAt 'LLL' }} + if userData.loginDisabled + td.username <s>{{ userData.username }}</s> + else + td.username {{ userData.username }} + if userData.loginDisabled + td <s>{{ userData.profile.fullname }}</s> + else + td {{ userData.profile.fullname }} + if userData.loginDisabled + td + if userData.isAdmin + | <s>{{_ 'yes'}}</s> + else + | <s>{{_ 'no'}}</s> + else + td + if userData.isAdmin + | {{_ 'yes'}} + else + | {{_ 'no'}} + if userData.loginDisabled + td <s>{{ userData.emails.[0].address }}</s> + else + td {{ userData.emails.[0].address }} + if userData.loginDisabled + td + if userData.emails.[0].verified + | <s>{{_ 'yes'}}</s> + else + | <s>{{_ 'no'}}</s> + else + td + if userData.emails.[0].verified + | {{_ 'yes'}} + else + | {{_ 'no'}} + if userData.loginDisabled + td <s>{{ moment userData.createdAt 'LLL' }}</s> + else + td {{ moment userData.createdAt 'LLL' }} td if userData.loginDisabled | {{_ 'no'}} else | {{_ 'yes'}} - td {{_ userData.authenticationMethod }} + if userData.loginDisabled + td <s>{{_ userData.authenticationMethod }}</s> + else + td {{_ userData.authenticationMethod }} td a.edit-user + i.fa.fa-edit | {{_ 'edit'}} template(name="editUserPopup") |