aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-11-09 12:54:53 +0300
committerBonfaceKilz2021-11-11 09:32:26 +0300
commitc2ca2dc66ec1b6be726eafde187eee561f074ad4 (patch)
treecd37ee004eb7d717e0832e87b6133e1e6e16619a /wqflask
parent1fe23d19c099305a7f3fe8afa1477964038e57a7 (diff)
downloadgenenetwork2-c2ca2dc66ec1b6be726eafde187eee561f074ad4.tar.gz
view_group.html: Display the group's UID if the user is an admin
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/admin/view_group.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/admin/view_group.html b/wqflask/wqflask/templates/admin/view_group.html
index a89ec54d..a7d80388 100644
--- a/wqflask/wqflask/templates/admin/view_group.html
+++ b/wqflask/wqflask/templates/admin/view_group.html
@@ -38,6 +38,9 @@
<th>Name</th>
<th>Email Address</th>
<th>Organization</th>
+ {% if is_admin %}
+ <th>UID</th>
+ {% endif %}
</tr>
</thead>
<tbody>
@@ -48,6 +51,9 @@
<td>{% if 'full_name' in admin %}{{ admin.full_name }}{% elif 'name' in admin %}{{ admin.name }}{% else %}N/A{% endif %}</td>
<td>{% if 'email_address' in admin %}{{ admin.email_address }}{% else %}N/A{% endif %}</td>
<td>{% if 'organization' in admin %}{{ admin.organization }}{% else %}N/A{% endif %}</td>
+ {% if is_admin %}
+ <td>{{admin.user_id}}</td>
+ {% endif %}
</tr>
{% endfor %}
</tbody>
@@ -75,6 +81,9 @@
<th>Name</th>
<th>Email Address</th>
<th>Organization</th>
+ {% if is_admin %}
+ <th>UID</th>
+ {% endif %}
</tr>
</thead>
<tbody>
@@ -85,6 +94,10 @@
<td>{% if 'full_name' in member %}{{ member.full_name }}{% elif 'name' in admin %}{{ admin.name }}{% else %}N/A{% endif %}</td>
<td>{% if 'email_address' in member %}{{ member.email_address }}{% else %}N/A{% endif %}</td>
<td>{% if 'organization' in member %}{{ member.organization }}{% else %}N/A{% endif %}</td>
+ {% if is_admin %}
+ <td>{{ member }}</td>
+ {% endif %}
+
</tr>
{% endfor %}
</tbody>