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