From 371c5dded503bb43d90f2c62ecc1422552fc1225 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 16 Nov 2023 15:00:05 +0300 Subject: Revamp UI page for publications. * wqflask/wqflask/templates/publication.html: Update UI. When a particular metadata item does not show up, show "N/A" instead. * wqflask/wqflask/views.py (get_publication): Rename "publication"->"publications". Signed-off-by: Munyoki Kilyungi --- wqflask/wqflask/templates/publication.html | 36 +++++++----------------------- wqflask/wqflask/views.py | 4 ++-- 2 files changed, 10 insertions(+), 30 deletions(-) diff --git a/wqflask/wqflask/templates/publication.html b/wqflask/wqflask/templates/publication.html index d0f6633e..556d184f 100644 --- a/wqflask/wqflask/templates/publication.html +++ b/wqflask/wqflask/templates/publication.html @@ -25,14 +25,14 @@ {% endblock %} -{% block title %}Dataset: {{ name }}{% endblock %} +{% block title %}Title: {{metadata.title}}{% endblock %} {% block content %}