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>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<div>
|
||||||
<header>
|
<header>
|
||||||
{%- block navbar %}
|
{%- block navbar %}
|
||||||
<nav>
|
<nav>
|
||||||
@@ -40,14 +41,20 @@
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{%- for item in current_menu.submenu('main').children|sort(attribute='order') if item.visible recursive %}
|
{%- for item in current_menu.submenu('main').children|sort(attribute='order') if item.visible recursive %}
|
||||||
<div class="two wide column main-menu-entry">
|
<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>
|
</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">
|
<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>
|
</div>
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="margin-divider" class="ui divider main-menu-underline-line">
|
<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 -%}
|
{%- from "invenio_theme/macros/messages.html" import flashed_messages with context -%}
|
||||||
{{ flashed_messages() }}
|
{{ flashed_messages() }}
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
|
</header>
|
||||||
|
|
||||||
{#
|
{#
|
||||||
{%- block breadcrumbs %}
|
{%- block breadcrumbs %}
|
||||||
{%- include "invenio_theme/breadcrumbs.html" %}
|
{%- include "invenio_theme/breadcrumbs.html" %}
|
||||||
{%- endblock breadcrumbs %}
|
{%- endblock breadcrumbs %}
|
||||||
#}
|
#}
|
||||||
</header>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user