{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2015-2021 CERN. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- if config.ACCOUNTS %} {%- if not current_user.is_authenticated %}
{{ _('Log in') }} {% if security.registerable %} {{ _('Sign up') }} {% endif %}
{%- else %} {# Quick-create ("plus") menu #} {%- set plus_menu_items = current_menu.submenu('plus').children %} {%- if plus_menu_items %} {% endif %} {%- if config.USERPROFILES %} {%- else %} {{ _('Log out') }} {%- endif %} {%- endif %} {%- endif %}