aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-25 12:43:01 +0300
committerBonfaceKilz2021-10-25 14:00:14 +0300
commit700802303e5e8221a9d591ba985d6607aa61e1ce (patch)
tree56d1139961616e22fc5f824d00bfb4cf08236d80
parent18e57bad1b44fece0f7b1f98bd73e5556691a3cd (diff)
downloadgenenetwork2-700802303e5e8221a9d591ba985d6607aa61e1ce.tar.gz
manage_resource.html: Replace button with link
-rw-r--r--wqflask/wqflask/templates/admin/manage_resource.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/admin/manage_resource.html b/wqflask/wqflask/templates/admin/manage_resource.html
index a84bd77f..613aa70e 100644
--- a/wqflask/wqflask/templates/admin/manage_resource.html
+++ b/wqflask/wqflask/templates/admin/manage_resource.html
@@ -19,10 +19,10 @@
</h3>
{% endif %}
{% if DATA_ACCESS > DataRole.VIEW and ADMIN_STATUS > AdminRole.NOT_ADMIN %}
- <button class="btn btn-danger"
- data-url="/resource-management/resources/{{ resource_info.get('resource_id') }}/change_owner">
+ <a class="btn btn-danger" target="_blank"
+ href="/resource-management/resources/{{ resource_info.get('resource_id') }}/change-owner">
Change Owner
- </button>
+ </a>
{% endif %}
{% endif %}
</section>