From 03d61ae546894100c57fa92845cfa3c9ce81a519 Mon Sep 17 00:00:00 2001 From: alejandromumo Date: Wed, 1 Nov 2023 14:10:31 +0100 Subject: [PATCH] header: updated quick actions dropdown. --- .../invenio_app_rdm/header_login.html | 82 +++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/header_login.html b/invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/header_login.html index b8deff181..818a07795 100644 --- a/invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/header_login.html +++ b/invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/header_login.html @@ -7,6 +7,47 @@ under the terms of the MIT License; see LICENSE file for more details. #} +{%- set plus_menu_items = current_menu.submenu('plus').children %} + +{# Desktop Quick-create ("plus") menu #} +{%- if plus_menu_items %} + + +{# Mobile/Tablet Quick create ("plus") menu #} + +{% endif %} {%- if config.ACCOUNTS %} {%- if not current_user.is_authenticated %} @@ -24,47 +65,6 @@ {% endif %} {%- else %} - - {# Desktop Quick-create ("plus") menu #} - {%- set plus_menu_items = current_menu.submenu('plus').children %} - {%- if plus_menu_items %} - - - {# Mobile/Tablet Quick create ("plus") menu #} - - {% endif %} - {# Desktop Account dropdown menu #} {%- if config.USERPROFILES %}