mirror of
https://gitlab.com/brutaldon/brutaldon
synced 2025-06-05 21:49:32 +02:00
Fix annoying notification bug in brutalist themes
This commit is contained in:
@@ -100,6 +100,9 @@
|
|||||||
<span ic-src="{% url 'notes_count' %}"
|
<span ic-src="{% url 'notes_count' %}"
|
||||||
ic-poll="{{ preferences.poll_frequency }}s"
|
ic-poll="{{ preferences.poll_frequency }}s"
|
||||||
ic-target="this"
|
ic-target="this"
|
||||||
|
ic-push-url="false"
|
||||||
|
ic-on-beforeSend="false"
|
||||||
|
ic-on-success="false"
|
||||||
ic-select-from-response="#notes-count">
|
ic-select-from-response="#notes-count">
|
||||||
<span
|
<span
|
||||||
{% if notifications and notifications != '0' %}
|
{% if notifications and notifications != '0' %}
|
||||||
@@ -110,8 +113,11 @@
|
|||||||
</span>
|
</span>
|
||||||
{% elif notifications and preferences.notifications %}
|
{% elif notifications and preferences.notifications %}
|
||||||
<span ic-src="{% url 'notes_count' %}"
|
<span ic-src="{% url 'notes_count' %}"
|
||||||
ic-poll="{{ preferences.poll_frequency }}"
|
ic-poll="{{ preferences.poll_frequency }}s"
|
||||||
ic-target="this"
|
ic-target="this"
|
||||||
|
ic-on-beforeSend="false"
|
||||||
|
ic-on-success="false"
|
||||||
|
ic-push-url="false"
|
||||||
ic-select-from-response="#notes-count">
|
ic-select-from-response="#notes-count">
|
||||||
<span > Notifications ({{ notifications }})</span>
|
<span > Notifications ({{ notifications }})</span>
|
||||||
</span>
|
</span>
|
||||||
|
Reference in New Issue
Block a user