conditional display of notifs button

This commit is contained in:
marty hiatt 2022-09-01 11:54:49 +02:00
parent 7ff8d85696
commit b4cc9f5753

View file

@ -10,6 +10,7 @@
<h1 class="title">{% trans "Notifications" %}</h1>
</div>
{% if notifications %}
<form name="clear" action="/notifications" method="POST" class="column is-narrow">
{% csrf_token %}
{% spaceless %}
@ -19,6 +20,7 @@
</button>
{% endspaceless %}
</form>
{% endif %}
</header>
<div class="block">