-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display users in table in Admin Settings #149
base: master
Are you sure you want to change the base?
Conversation
* docs(contributor): contrib-readme-action has updated readme * Move item to bottom of list --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
) * Set location of PouchDB log file with environment variable. * Use config system * Use config system --------- Co-authored-by: Wingy <[email protected]>
* Added automation to keep contributers section current * Updated README.md to use new automation to keep contributers current * changed branch name * fix: Added backslashes and typescript install to Dockerfile * fix: Dockerfile, allow changes to be applied --------- Co-authored-by: jskidie <[email protected]>
src/views/adminSettings.pug
Outdated
each user in users | ||
tr(id=user.id) | ||
td=user.id | ||
td=user.doc.admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like this to use the localized equivalent of yes or no rather than true/false. Something like:
= user.doc.admin ? lang('YES') : lang('NO')
Other than that this looks great! It's a lot more intuitive, thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, makes sense. Done in cc185ca
Users in the Admin Settings area are displayed in a table. This should make it more obvious to admins that they can perform actions on those users like reset passwords, etc.
What it looks like on desktop:
And on mobile:
Closes #129 if accepted.