aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-06-06 02:05:51 +0300
committerBonfaceKilz2023-06-06 02:07:23 +0300
commitbe9b33065c5a424b4d67c43a96b15e4e12bafbd4 (patch)
treee232b6bdc1715d3b001cd621c59b4ab6647fcc79 /wqflask
parent75a8ad0c5587ad25dc6e258f65b87b6b8adc34e6 (diff)
downloadgenenetwork2-be9b33065c5a424b4d67c43a96b15e4e12bafbd4.tar.gz
Fix geoplatform link in datasets page
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/dataset.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/dataset.html b/wqflask/wqflask/templates/dataset.html
index 4e5cc905..08a317ad 100644
--- a/wqflask/wqflask/templates/dataset.html
+++ b/wqflask/wqflask/templates/dataset.html
@@ -69,7 +69,12 @@
{% if metadata.platformName %}
<dt>Platforms</dt>
<dd>
- [<a href="{{ metadata.geoPlatform }} target=_blank">{{ metadata.geoPlatform.split("=")[-1] }}</a>] {{ metadata.platformName }}</dd> {% endif %}
+ {% if metadata.geoPlatformUrl %}
+ [<a href="{{ metadata.geoPlatformUrl }}" target="_blank">{{ metadata.geoPlatformUrl.split("=")[-1] }}</a>]
+ {% endif %}
+ {{ metadata.platformName }}
+ </dd>
+ {% endif %}
{% if metadata.normalization %} <dt>Normalization</dt> <dd>{{ metadata.normalization }}</dd> {% endif %}
{% if metadata.investigatorName %}
<dt>Investigator</dt>