Merge pull request #2288 from mooseyboots/del-notifs-button

conditional display of notifs button
This commit is contained in:
Mouse Reeve 2022-09-08 10:16:07 -07:00 committed by GitHub
commit c71d133d2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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">