aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-27 14:26:04 +0300
committerBonfaceKilz2021-10-28 08:34:35 +0300
commit106a6a4932151347318fd22ccfe87c2fe2ac70d6 (patch)
tree80d03a4b3f2952126082140ac61d18ac2d135e0b
parentc8938c9b3d9318f257083857aa9a0f79e3fbe220 (diff)
downloadgenenetwork2-106a6a4932151347318fd22ccfe87c2fe2ac70d6.tar.gz
manage_resource.html: Set ADMIN_STATUS variable
-rw-r--r--wqflask/wqflask/templates/admin/manage_resource.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/admin/manage_resource.html b/wqflask/wqflask/templates/admin/manage_resource.html
index 5f6140f0..46753f01 100644
--- a/wqflask/wqflask/templates/admin/manage_resource.html
+++ b/wqflask/wqflask/templates/admin/manage_resource.html
@@ -27,6 +27,7 @@
{% endif %}
{% endif %}
</section>
+ {% set ADMIN_STATUS = access_role.get('admin') %}
<section class="container" style="margin-top: 2em;">
<form class="container-fluid" action="/resource-management/resources/{{ resource_info.get('resource_id') }}/make-public" method="POST">