Commit 2a96656f authored by fred's avatar fred

style: mark facet results for news categories like the others

parent 1a49853d
......@@ -12,10 +12,10 @@
{% for category in facets.fields.news_categories %} <li>
{% if category.0 in selected_news_categories %}
<a class="check icon-check count-{{ category.1 }}" href="{{ request.get_full_path|remove_news_category_facet:category.0 }}">
{{ category.0 }} | {{ category.1 }}
{{ category.0 }} <span class="smooth">| {{ category.1 }}</span>
</a>
{% else %}
<a class="check icon-check-empty count-{{ category.1 }}" href="{{ request.get_full_path|append_news_category_facet:category.0 }}">{{ category.0 }} | {{ category.1 }}</a></span>
<a class="check icon-check-empty count-{{ category.1 }}" href="{{ request.get_full_path|append_news_category_facet:category.0 }}">{{ category.0 }} <span class="smooth">| {{ category.1 }}</span></a>
{% endif %}
</li>
{% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment