Skip to content

Commit a2aad99

Browse files
authored
feat: add additional_banners support to base template (#14492)
1 parent b339824 commit a2aad99

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

dojo/templates/base.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,11 @@
665665
{{ announcement.message|bleach_with_a_tags }}
666666
</div>
667667
{% endif %}
668+
{% for banner in additional_banners %}
669+
<div role="alert" class="announcement-banner alert alert-{{ banner.style }} show">
670+
{{ banner.message }} <a href="{{ banner.url }}">{{ banner.link_text }}</a>
671+
</div>
672+
{% endfor %}
668673
<div class="container-fluid">
669674
<!-- start of tabs -->
670675
{% block tab_bar %}

0 commit comments

Comments
 (0)