From feba2ff44051f2a5ab1aa5259889b2ebb89d21c2 Mon Sep 17 00:00:00 2001 From: Christoph Ladurner Date: Tue, 29 Dec 2020 15:21:24 +0100 Subject: [PATCH] bugfix(ui): adapt badges on frontpage to look the same as on search page resource type color was different. publication date badge and version badge were moved together into one badge. --- .../templates/invenio_theme_tugraz/index.html | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html index 5d4c903..01cd36f 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html @@ -48,18 +48,13 @@ something with doi -->
- - - {{ r.metadata.publication_date }} - - - - - {{ (' Version ' ~ r.version ~ '') if r.version else 'Version' }} + + + {{ r.metadata.publication_date }} {{ '(' ~ r.metadata.version ~ ')' if r.metadata.version }} - + {{r.metadata.resource_type | cast_to_dict | vocabulary_title('resource_type') }}