From b0215e1840987b481bcf31fc95947ca787b7eab7 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 6 Jun 2023 00:55:58 +0300 Subject: If a title doesn't exist, use the metadata name instead Signed-off-by: Munyoki Kilyungi --- wqflask/wqflask/templates/dataset.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/templates/dataset.html b/wqflask/wqflask/templates/dataset.html index ed895946..a551ee3a 100644 --- a/wqflask/wqflask/templates/dataset.html +++ b/wqflask/wqflask/templates/dataset.html @@ -37,7 +37,7 @@

{% if metadata.publicationTitle %} {{ metadata.publicationTitle}} - ({{ metadata.title }}) + ({{ metadata.title or metadata.name}}) {% else %} {{ name }} {% endif %} -- cgit v1.2.3