Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
2a96656f
Commit
2a96656f
authored
Oct 17, 2013
by
fred
Browse files
style: mark facet results for news categories like the others
parent
1a49853d
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/news/archives.html
View file @
2a96656f
...
...
@@ -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 %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment