mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-12 02:05:31 +00:00
Merge pull request #2288 from mooseyboots/del-notifs-button
conditional display of notifs button
This commit is contained in:
commit
c71d133d2c
1 changed files with 2 additions and 0 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue