From 7516334e07c950f85f1b28259850629397df09d4 Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Tue, 9 Jul 2024 15:28:24 -0700 Subject: [PATCH] Switch user list table to be in accordion dropdowns Once we start pulling in all user accounts and associating them with a ResearchCenter or PartnerGroup, the tables will get long. Move them into accordion dropdowns like the uploaders and data access lists. --- .../gregor_anvil/partnergroup_detail.html | 25 ++++++++++++++++--- .../gregor_anvil/researchcenter_detail.html | 25 ++++++++++++++++--- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/gregor_django/templates/gregor_anvil/partnergroup_detail.html b/gregor_django/templates/gregor_anvil/partnergroup_detail.html index b1c3ebea..a58de35e 100644 --- a/gregor_django/templates/gregor_anvil/partnergroup_detail.html +++ b/gregor_django/templates/gregor_anvil/partnergroup_detail.html @@ -70,7 +70,26 @@

-

Partner Group Users

- {% render_table tables.0 %} -

Partner Group user list only contains those group users who have created an account on this website.

+
+
+
+

+ +

+
+
+

+ This table shows users who are associated with this Partner Group. +

+ {% render_table tables.0 %} +
+
+
+
+
+ {% endblock after_panel %} diff --git a/gregor_django/templates/gregor_anvil/researchcenter_detail.html b/gregor_django/templates/gregor_anvil/researchcenter_detail.html index b53fed26..4b8bb1ef 100644 --- a/gregor_django/templates/gregor_anvil/researchcenter_detail.html +++ b/gregor_django/templates/gregor_anvil/researchcenter_detail.html @@ -69,7 +69,26 @@

-

Research Center Users

- {% render_table tables.0 %} -

Research center user list only contains those site users who have created an account on this website.

+
+
+
+

+ +

+
+
+

+ This table shows users who are associated with this Partner Group. +

+ {% render_table tables.0 %} +
+
+
+
+
+ {% endblock after_panel %}