mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-25 01:20:35 +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>
|
||||
</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">
|
||||
|
|
Loading…
Reference in a new issue