aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-27 14:23:15 +0300
committerBonfaceKilz2021-10-28 08:34:35 +0300
commitd15d381fd9018e9883d17046496250321327763b (patch)
tree1795ee2f669517dca2bbb9f3c5bc61edea9e666f /wqflask
parentfb7456a0e850290961c0f8be59c09fdd425f15f1 (diff)
downloadgenenetwork2-d15d381fd9018e9883d17046496250321327763b.tar.gz
Fix typo
Diffstat (limited to 'wqflask')
-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 7a09f52e..b4b1860d 100644
--- a/wqflask/wqflask/templates/show_trait_details.html
+++ b/wqflask/wqflask/templates/show_trait_details.html
@@ -234,7 +234,7 @@
{% endif %}
{% endif %}
<button type="button" id="view_in_gn1" class="btn btn-primary" title="View Trait in GN1" onclick="window.open('http://gn1.genenetwork.org/webqtl/main.py?cmd=show&db={{ this_trait.dataset.name }}&probeset={{ this_trait.name }}', '_blank')">Go to GN1</button>
- {% if admin_status.get('metadata', Datarole.VIEW) > DataRole.VIEW %}
+ {% if admin_status.get('metadata', DataRole.VIEW) > DataRole.VIEW %}
{% if this_trait.dataset.type == 'Publish' %}
{{ this_trait }}
<button type="button" id="edit_resource" class="btn btn-success" title="Edit Resource" onclick="window.open('/datasets/{{ this_trait.dataset.id }}/traits/{{ this_trait.name }}?resource-id={{ resource_id }}', '_blank')">Edit</button>