various fixes

This commit is contained in:
2018-03-22 21:15:26 +01:00
parent 81dadc6351
commit 858bfaec98
12 changed files with 44 additions and 25 deletions

View File

@@ -80,15 +80,6 @@
</ul>
{% block header_items %}
{% if notification %}
<a href="#" class="header__button header__button--notification data_id_1">
{% trans 'Aktuell' %}
<span class="header__button__icon">
{% include 'project/assets/bell.svg' %}
</span>
</a>
{% endif %}
<a href="#" class="header__button header__button--search data_id_2">
{% trans 'Suche' %}
<span class="header__button__icon">
@@ -96,6 +87,16 @@
</span>
</a>
{% if notification %}
<a href="#" class="header__button header__button--notification data_id_1"
data-updated="{{ notification.updated }}">
{% trans 'Aktuell' %}
<span class="header__button__icon">
{% include 'project/assets/bell.svg' %}
</span>
</a>
{% endif %}
{% url 'search' as search_url %}
{% with request.get_full_path as current_url %}
<a href="{% if search_url in current_url %}/{{ LANGUAGE_CODE }}/{% else %}{{ current_url }}{% endif %}"