Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates: page_cover: Add banner to login template #395

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@

{%- block body %}
<div class="sixteen wide column centered">
{%- block site_banner %}
{% from 'invenio_banners/banner.html' import banner %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there is a direct dependency on invenio-banners in this module...I think it is better to either keep the block here and implement the banner in a "higher" level module or completely move this to another module where it depends on invenio-banners.

{{ banner() }}
{%- endblock site_banner %}

{%- block flashmessages %}
{%- from "invenio_theme/macros/messages.html" import flashed_messages with context -%}
{{ flashed_messages(center_text=true) }}
Expand Down
Loading