From a6681cbe4b3590296659fdd944b43979e61ae09a Mon Sep 17 00:00:00 2001 From: Mojib Wali <44528277+mb-wali@users.noreply.github.com> Date: Tue, 5 Jan 2021 09:46:25 +0100 Subject: [PATCH] feature(ui): refactor submenu * get rid of Communities link * adding translation to Uploads This closes #131 --- .../invenio_theme_tugraz/header.html | 10 ++++- .../translations/de/LC_MESSAGES/messages.po | 38 ++++++++++++------- .../translations/messages.pot | 12 ++++-- 3 files changed, 41 insertions(+), 19 deletions(-) diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html index 6b11fad..0544412 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html @@ -36,11 +36,17 @@ - {%- for item in current_menu.submenu('main').children|sort(attribute='order') if item.visible recursive %} + + + + +
+ {{_ ("Uploads")}} +