Use notifications setting
This commit is contained in:
parent
2dfcd61989
commit
3acfcdd744
|
@ -80,7 +80,7 @@
|
|||
<a class="navbar-item" href="{% url "note" %}"
|
||||
>
|
||||
<span class="fa fa-bell-o"></span>
|
||||
{% if not preferences.theme.is_brutalist %}
|
||||
{% if preferences.notifications and not preferences.theme.is_brutalist %}
|
||||
<span ic-src="{% url 'notes_count' %}"
|
||||
ic-poll="60s"
|
||||
ic-target="this">
|
||||
|
@ -91,7 +91,7 @@
|
|||
data-badge="{{ notifications }}">
|
||||
Notifications</span>
|
||||
</span>
|
||||
{% elif notifications %}
|
||||
{% elif notifications and preferences.notifications %}
|
||||
<span > Notifications ({{ notifications }})</span>
|
||||
{% else %}
|
||||
<span > Notifications</span>
|
||||
|
|
Loading…
Reference in New Issue