diff options
author | Munyoki Kilyungi | 2023-06-06 00:55:58 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-06-06 00:57:29 +0300 |
commit | b0215e1840987b481bcf31fc95947ca787b7eab7 (patch) | |
tree | a4ce517087305c8ff56eb9b815fd234b78ab8a3f | |
parent | 0ad56a14475902976e93d13995edc60ea697c440 (diff) | |
download | genenetwork2-b0215e1840987b481bcf31fc95947ca787b7eab7.tar.gz |
If a title doesn't exist, use the metadata name instead
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | wqflask/wqflask/templates/dataset.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <h1> {% if metadata.publicationTitle %} <u>{{ metadata.publicationTitle}}</u> - <small>({{ metadata.title }})</small> + <small>({{ metadata.title or metadata.name}})</small> {% else %} {{ name }} {% endif %} |