diff options
author | BonfaceKilz | 2021-10-27 14:34:11 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-28 08:34:35 +0300 |
commit | 77865c2ffbc921abb2fe04a64d03e51d47b2ecce (patch) | |
tree | e1fce33c544c01fd174543e423d3a3cbcdbf9ffc | |
parent | 4bc8c4d2b5fcfc164026e9a924b3b784af8957ea (diff) | |
download | genenetwork2-77865c2ffbc921abb2fe04a64d03e51d47b2ecce.tar.gz |
show_trait_details.html: Fix broken "edit-phenotype" link
-rw-r--r-- | wqflask/wqflask/templates/show_trait_details.html | 2 |
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> |