Skip to content

Commit

Permalink
feat(banners): show administrative banners in header
Browse files Browse the repository at this point in the history
  • Loading branch information
mirekys committed Sep 19, 2024
1 parent 12a3163 commit 5546fc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oarepo_ui/templates/oarepo_ui/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
{%- block site_banner %}
{%- endblock site_banner %}
<div class="outer-navbar">
{%- block banner %}
{# TODO: add support for user banners {% from 'invenio_banners/banner.html' import banner %} {{ banner() }} #}
{%- endblock banner %}
{%- block navbar %}
<div class="ui container invenio-header-container">
<nav id="invenio-nav" class="ui menu shadowless borderless stackable p-0">
Expand Down Expand Up @@ -125,6 +122,9 @@
</nav>
</div>
{%- endblock navbar %}
{%- block banner %}
{% from 'invenio_banners/banner.html' import banner %} {{ banner() }}
{%- endblock banner %}

{%- block flashmessages %}
{%- from "invenio_theme/macros/messages.html" import flashed_messages with context -%}
Expand Down

0 comments on commit 5546fc4

Please sign in to comment.