mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
align with invenio-app-rdm community changes
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div>
|
||||
<header>
|
||||
{%- block navbar %}
|
||||
<nav>
|
||||
@@ -40,14 +41,20 @@
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{%- for item in current_menu.submenu('main').children|sort(attribute='order') if item.visible recursive %}
|
||||
<div class="two wide column main-menu-entry">
|
||||
<a href="{{ item.url }}" class="no-decoration">{{ item.text|safe }}</a>
|
||||
<a role="menuitem" href="{{ item.url }}" class="no-decoration">{{ item.text|safe }}</a>
|
||||
</div>
|
||||
{%- endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% for item in current_menu.submenu('actions').children|sort(attribute='order') if item.visible recursive %}
|
||||
<div class="two wide column main-menu-entry">
|
||||
<a href="{{ url_for('invenio_app_rdm_records.dashboard') }}" class="no-decoration nowrap-link">{{_ ("My dashboard")}}</a>
|
||||
<a role="menuitem" href="{{ item.url }}" class="no-decoration">{{ item.text|safe }}</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div id="margin-divider" class="ui divider main-menu-underline-line">
|
||||
@@ -65,9 +72,11 @@
|
||||
{%- from "invenio_theme/macros/messages.html" import flashed_messages with context -%}
|
||||
{{ flashed_messages() }}
|
||||
{%- endblock %}
|
||||
</header>
|
||||
|
||||
{#
|
||||
{%- block breadcrumbs %}
|
||||
{%- include "invenio_theme/breadcrumbs.html" %}
|
||||
{%- endblock breadcrumbs %}
|
||||
#}
|
||||
</header>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user