Skip to content
Snippets Groups Projects
Commit d39bd2e4 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Conditionaly include notification js.

parent a6e127a2
No related branches found
No related tags found
No related merge requests found
...@@ -44,8 +44,10 @@ ...@@ -44,8 +44,10 @@
padding-right: 1em; padding-right: 1em;
} }
.form__select { .form {
margin-right: 1em; &__select {
margin-right: 1em;
}
} }
} }
} }
...@@ -30,7 +30,9 @@ ...@@ -30,7 +30,9 @@
<script src="{% static 'js/jquery.min.js' %}"></script> <script src="{% static 'js/jquery.min.js' %}"></script>
<script src="{% static 'js/js.cookie.min.js' %}"></script> <script src="{% static 'js/js.cookie.min.js' %}"></script>
<script src="{% static 'js/main-top.js' %}"></script> <script src="{% static 'js/main-top.js' %}"></script>
{% if latest_notifications %}
<script defer src="{% static 'js/apply/notifications.js' %}"></script> <script defer src="{% static 'js/apply/notifications.js' %}"></script>
{% endif %}
{% if COOKIES_ACCEPTED and MATOMO_URL and MATOMO_SITEID %} {% if COOKIES_ACCEPTED and MATOMO_URL and MATOMO_SITEID %}
{# we are only expecting strings, so make sure we escape the values #} {# we are only expecting strings, so make sure we escape the values #}
<script> <script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment