aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-12-15 20:52:41 +0000
committerzsloan2022-12-15 20:52:41 +0000
commit7954a5fbe35e4690beb12d2096199d31d08ee01d (patch)
tree8c9dfc02c45705013dfd22d33cfaade241d37b4c /wqflask
parent4d4c13cf51259152cf6df0f0c02bcb23f6f9da92 (diff)
downloadgenenetwork2-7954a5fbe35e4690beb12d2096199d31d08ee01d.tar.gz
Change if blocks in template to allow changing owner when an owner isn't currently set
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/admin/manage_resource.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/admin/manage_resource.html b/wqflask/wqflask/templates/admin/manage_resource.html
index 64d4b6eb..63ec17c0 100644
--- a/wqflask/wqflask/templates/admin/manage_resource.html
+++ b/wqflask/wqflask/templates/admin/manage_resource.html
@@ -20,13 +20,13 @@
Organization: {{ user_details.get('organization')}}
</h3>
{% endif %}
+ {% endif %}
{% if DATA_ACCESS > DataRole.VIEW and ADMIN_STATUS > AdminRole.NOT_ADMIN %}
<a class="btn btn-danger" target="_blank"
href="/resource-management/resources/{{ resource_info.get('resource_id') }}/change-owner">
Change Owner
</a>
{% endif %}
- {% endif %}
</section>
<section class="container" style="margin-top: 2em;">