aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-27 14:34:11 +0300
committerBonfaceKilz2021-10-28 08:34:35 +0300
commit77865c2ffbc921abb2fe04a64d03e51d47b2ecce (patch)
treee1fce33c544c01fd174543e423d3a3cbcdbf9ffc
parent4bc8c4d2b5fcfc164026e9a924b3b784af8957ea (diff)
downloadgenenetwork2-77865c2ffbc921abb2fe04a64d03e51d47b2ecce.tar.gz
show_trait_details.html: Fix broken "edit-phenotype" link
-rw-r--r--wqflask/wqflask/templates/show_trait_details.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/show_trait_details.html b/wqflask/wqflask/templates/show_trait_details.html
index fa892853..3e59a3ee 100644
--- a/wqflask/wqflask/templates/show_trait_details.html
+++ b/wqflask/wqflask/templates/show_trait_details.html
@@ -240,7 +240,7 @@
{% endif %}
{% if this_trait.dataset.type == 'ProbeSet' %}
- <button type="button" id="edit_resource" class="btn btn-success" title="Edit Resource" onclick="window.open('/datasets/traits/{{ this_trait.name }}resource-id={{ resource_id }}', '_blank')">Edit</button>
+ <button type="button" id="edit_resource" class="btn btn-success" title="Edit Resource" onclick="window.open('/datasets/traits/{{ this_trait.name }}?resource-id={{ resource_id }}', '_blank')">Edit</button>
{% endif %}
{% if admin_status.get('metadata', DataRole.VIEW) > DataRole.VIEW %}
<button type="button" id="edit_resource" class="btn btn-success" title="Edit Privileges" onclick="window.open('/resource-management/resources/{{ resource_id }}', '_blank')">Edit Privileges</button>