aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/metadata/dataset.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/metadata/dataset.html b/wqflask/wqflask/templates/metadata/dataset.html
index 72ac1937..9b28dfbd 100644
--- a/wqflask/wqflask/templates/metadata/dataset.html
+++ b/wqflask/wqflask/templates/metadata/dataset.html
@@ -1,8 +1,9 @@
<header class="page-header text-justify">
<h1>
- {% if dataset.title %}
- {{ dataset.title or dataset.altLabel or dataset.label }}
- {% if dataset.title != dataset.altLabel %}
+ {% if dataset.title or dataset.label or dataset.altLabel %}
+ {{ dataset.title or dataset.label or dataset.altLabel }}
+ {% if dataset.title != dataset.altLabel and dataset.label != dataset.altLabel %}
+ <br/>
<small>({{ dataset.altLabel }})</small>
{% endif %}
{% else %}