summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/util
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-15 15:38:06 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-20 16:07:06 +0200
commit7199e2c15838d78fedd3c6127beddf1656dbeae2 (patch)
tree8ded3dcd92a8d8c571c0f5c80e635ae4e527d1af /opendc-web/opendc-web-ui/src/util
parent24b857ae580fcbea441e7cb91bc7aba681fc6c8b (diff)
feat(web/ui): Redesign projects page
This change updates the design of the projects page to use a gallery overview.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/util')
-rw-r--r--opendc-web/opendc-web-ui/src/util/authorizations.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/opendc-web/opendc-web-ui/src/util/authorizations.js b/opendc-web/opendc-web-ui/src/util/authorizations.js
index fffcefeb..6cb08ba8 100644
--- a/opendc-web/opendc-web-ui/src/util/authorizations.js
+++ b/opendc-web/opendc-web-ui/src/util/authorizations.js
@@ -8,8 +8,14 @@ export const AUTH_ICON_MAP = {
VIEWER: EyeIcon,
}
+export const AUTH_NAME_MAP = {
+ OWNER: 'Owner',
+ EDITOR: 'Editor',
+ VIEWER: 'Viewer',
+}
+
export const AUTH_DESCRIPTION_MAP = {
- OWNER: 'Own',
- EDITOR: 'Can Edit',
- VIEWER: 'Can View',
+ OWNER: 'You own this project',
+ EDITOR: 'You can edit this project',
+ VIEWER: 'You can view this project',
}