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