Add announcement toolbar

This commit is contained in:
Tobias 2018-10-06 14:27:21 +13:00
parent 85d2ce4549
commit f502f47bb3
2 changed files with 11 additions and 0 deletions

View file

@ -12,6 +12,16 @@ integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgB
crossorigin=""></script>
{% endblock %}
{% block alert %}
{% if flatpage.content %}
<div class="row">
<div class="col-12 bg-primary text-secondary p-3 content">
<strong>Important Announcement: </strong>{{ flatpage.content }}
</div>
</div>
{% endif %}
{% endblock %}
{% block body_out %}
<div class="row">
<div class="col-12">

View file

@ -44,6 +44,7 @@
<body class="{% block body_class %}{% endblock %}">
{% block template_overrides %}{% endblock %}
<header class="clearfix hidden-print">
{% block alert %}{% endblock %}
{% block navbar %}{% include 'nav.html' %}{% endblock %}
</header>