mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-09-25 13:00:13 +00:00
conditional display of notifs button
This commit is contained in:
parent
7ff8d85696
commit
b4cc9f5753
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