aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>