From 5f8e92243816958b4b9997e017f01d1e1796912d Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Tue, 22 Feb 2022 11:25:32 +0000 Subject: [PATCH] Changed the styling of organisation labels (Fixes #5) - Admins are green - Members are white - Pending members are yellow - Pending organisations are grey background --- assets/avsdev/css/organisations.css | 8 +++++++- templates/tables/users.html.twig | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/assets/avsdev/css/organisations.css b/assets/avsdev/css/organisations.css index 6ae8f87..9c58d62 100644 --- a/assets/avsdev/css/organisations.css +++ b/assets/avsdev/css/organisations.css @@ -1,3 +1,9 @@ .organisation-admin { - color: #ffc107 !important; + color: #56d773 !important; +} +.organisation-pending { + background-color: #6c757d !important; +} +.membership-pending { + color: #ffd24a !important; } \ No newline at end of file diff --git a/templates/tables/users.html.twig b/templates/tables/users.html.twig index 1d92f74..4cfd982 100644 --- a/templates/tables/users.html.twig +++ b/templates/tables/users.html.twig @@ -86,7 +86,7 @@ {{#if row.organisations.length }} {{#each row.organisations }} - {{this.name}}
+ {{this.name}}
{{/each}} {{ else }}