From 198add36d970c005320700a0ed01e8632e8f6922 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 19 Oct 2021 10:33:03 +0300 Subject: manage_resources.html: Clean up html --- .../wqflask/templates/admin/manage_resource.html | 33 +++++++++------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/wqflask/wqflask/templates/admin/manage_resource.html b/wqflask/wqflask/templates/admin/manage_resource.html index a2ed3538..80dfc8ee 100644 --- a/wqflask/wqflask/templates/admin/manage_resource.html +++ b/wqflask/wqflask/templates/admin/manage_resource.html @@ -6,29 +6,24 @@ {% set DATA_ACCESS = access_role.get('data') %} {% set METADATA_ACCESS = access_role.get('metadata') %} {% set ADMIN_STATUS = access_role.get('admin') %} - - -
+ {% if user_details.get('organization') %} +

+ Organization: {{ user_details.get('organization')}} +

+ {% endif %} + {% if DATA_ACCESS > DataRole.VIEW and ADMIN_STATUS > AdminRole.NOT_ADMIN %} + + {% endif %} + {% endif %}
-- cgit v1.2.3