1
0
mirror of https://gitlab.com/brutaldon/brutaldon synced 2025-06-05 21:49:32 +02:00

Fix issues with enhancement of modals and notifications.

This commit is contained in:
Jason McBrayer
2019-03-29 19:48:31 -04:00
parent 77ba674ffc
commit c28c5af2bb

View File

@@ -117,7 +117,7 @@
{% 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 }}s" ic-poll="{{ preferences.poll_frequency }}s"
ic-target="this" ic-target="this" 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>
@@ -136,6 +136,7 @@
<a class="navbar-item" href="{% url "toot" %}" <a class="navbar-item" href="{% url "toot" %}"
ic-get-from="{% url "toot" %}" ic-get-from="{% url "toot" %}"
ic-target="#new-toot-modal" ic-target="#new-toot-modal"
ic-enhance="false"
ic-on-complete="$('#new-toot-modal').toggleClass('is-active');"> ic-on-complete="$('#new-toot-modal').toggleClass('is-active');">
<span class="fa fa-edit"> </span> <span class="fa fa-edit"> </span>
<span >New Toot</span> <span >New Toot</span>
@@ -143,6 +144,7 @@
<a class="navbar-item" href="{% url "search" %}" <a class="navbar-item" href="{% url "search" %}"
ic-get-from="{% url "search" %}" ic-get-from="{% url "search" %}"
ic-target="#new-toot-modal" ic-target="#new-toot-modal"
ic-enhance="false"
ic-on-complete="$('#new-toot-modal').toggleClass('is-active');"> ic-on-complete="$('#new-toot-modal').toggleClass('is-active');">
<span class="fa fa-search"> </span> <span class="fa fa-search"> </span>
<span >Search</span> <span >Search</span>