Add SHOW_BLOCK_ALERT config option.

This commit is contained in:
Edward Betts 2020-04-22 16:30:44 +01:00
parent 95d69ef302
commit 3d113a593c
2 changed files with 15 additions and 6 deletions

View file

@ -17,10 +17,12 @@
<body>
{% block nav %}{{ navbar() }}{% endblock %}
<div class="p-2">
{{ local_block_alert() }}
{{ global_block_alert() }}
</div>
{% if config.SHOW_BLOCK_ALERT %}
<div class="p-2">
{{ local_block_alert() }}
{{ global_block_alert() }}
</div>
{% endif %}
{% block content %}{% endblock %}