From 46645a00902d78b7a0af867e70a1ee0fc1e46e97 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Mon, 18 Oct 2021 11:45:35 +0300 Subject: manage_resource.html: Display group name next to it's unique id --- wqflask/wqflask/templates/admin/manage_resource.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/wqflask/wqflask/templates/admin/manage_resource.html b/wqflask/wqflask/templates/admin/manage_resource.html index 0f4abec9..91e23e56 100644 --- a/wqflask/wqflask/templates/admin/manage_resource.html +++ b/wqflask/wqflask/templates/admin/manage_resource.html @@ -40,19 +40,19 @@
- {{ resource_info.name }} + {{ resource_info.get('name') }}
- {% if admin_status == "owner" %} + {% if DATA_ACCESS > DataRole.VIEW and ADMIN_STATUS > AdminRole.NOT_ADMIN %}
@@ -67,17 +67,18 @@
- {% if admin_status == "owner" or admin_status == "edit-admins" or admin_status == "edit-access" %} + {% if ADMIN_STATUS > AdminRole.NOT_ADMIN %}


- {% if group_masks|length > 0 %} + {% if resource_info.get('group_masks', [])|length > 0 %}

Current Group Permissions


+ @@ -85,9 +86,10 @@ - {% for key, value in group_masks.items() %} + {% for key, value in resource_info.get('group_masks').items() %} + -- cgit v1.2.3
Id Name Data Metadata
{{ value.name }}{{ value.group_name}} {{ value.data }} {{ value.metadata }} {{ value.admin }}