From 7199e2c15838d78fedd3c6127beddf1656dbeae2 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 15 Sep 2022 15:38:06 +0200 Subject: feat(web/ui): Redesign projects page This change updates the design of the projects page to use a gallery overview. --- opendc-web/opendc-web-ui/src/util/authorizations.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'opendc-web/opendc-web-ui/src/util') 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', } -- cgit v1.2.3