summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/components/settings/peopleBody.jade28
-rw-r--r--i18n/en.i18n.json5
2 files changed, 18 insertions, 15 deletions
diff --git a/client/components/settings/peopleBody.jade b/client/components/settings/peopleBody.jade
index 34004d31..d6568720 100644
--- a/client/components/settings/peopleBody.jade
+++ b/client/components/settings/peopleBody.jade
@@ -22,7 +22,7 @@ template(name="peopleGeneral")
tr
th {{_ 'username'}}
th {{_ 'fullname'}}
- th {{_ 'isAdmin'}}
+ th {{_ 'admin'}}
th {{_ 'email'}}
th {{_ 'verified'}}
th {{_ 'createdAt'}}
@@ -37,24 +37,24 @@ template(name="peopleRow")
td {{ userData.profile.fullname }}
td
if userData.isAdmin
- | true
+ | {{_ 'yes'}}
else
- | false
+ | {{_ 'no'}}
td {{ userData.emails.[0].address }}
td
if userData.emails.[0].verified
- | true
+ | {{_ 'yes'}}
else
- | false
+ | {{_ 'no'}}
td {{ moment userData.createdAt 'LLL' }}
td
if userData.loginDisabled
- | false
+ | {{_ 'no'}}
else
- | true
+ | {{_ 'yes'}}
td
a.edit-user
- | edit
+ | {{_ 'edit'}}
template(name="editUserPopup")
form
@@ -76,14 +76,14 @@ template(name="editUserPopup")
| {{_ 'error-email-taken'}}
input.js-profile-email(type="email" value="{{user.emails.[0].address}}")
label
- | {{_ 'isAdmin'}}
+ | {{_ 'admin'}}
select.select-role.js-profile-isadmin
- option(value="false") No
- option(value="true" selected="{{user.isAdmin}}") Yes
+ option(value="false") {{_ 'no'}}
+ option(value="true" selected="{{user.isAdmin}}") {{_ 'yes'}}
label
- | {{_ 'isActive'}}
+ | {{_ 'active'}}
select.select-active.js-profile-isactive
- option(value="false") Yes
- option(value="true" selected="{{user.loginDisabled}}") No
+ option(value="false") {{_ 'yes'}}
+ option(value="true" selected="{{user.loginDisabled}}") {{_ 'no'}}
input.primary.wide(type="submit" value="{{_ 'save'}}")
diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json
index fcaf9a8d..5ec6a5f0 100644
--- a/i18n/en.i18n.json
+++ b/i18n/en.i18n.json
@@ -404,5 +404,8 @@
"yes": "Yes",
"no": "No",
"accounts": "Accounts",
- "accounts-allowEmailChange": "Allow Email Change"
+ "accounts-allowEmailChange": "Allow Email Change",
+ "createdAt": "Created at",
+ "verified": "Verified",
+ "active": "Active"
}