Skip to content

Commit

Permalink
Corrige le lien sur les tags pour les billets dans la page de recherc…
Browse files Browse the repository at this point in the history
…he (#4760)

* Fix #4409 : corrige le lien sur les tags pour les billets dans la page de recherche

* Update publishedcontent.part.html

* Update publishedcontent.part.html

* Fix indent
  • Loading branch information
Anto59290 authored and artragis committed Jan 1, 2018
1 parent 0b9d958 commit d4e1cf4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions templates/searchv2/includes/publishedcontent.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ <h3 class="content-title" itemprop="itemListElement">
<ul class="content-tags" itemprop="keywords">
{% for tag in search_result.tags|slice:":3" %}
<li>
<a href="{% url 'content:list' %}?tag={{ tag|urlencode }}">
{{ tag }}
</a>
{% if search_result.is_opinion %}
<a href="{% url 'opinion:list' %}?tag={{ tag|urlencode }}">{{ tag }}</a>
{% else %}
<a href="{% url 'content:list' %}?tag={{ tag|urlencode }}">{{ tag }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit d4e1cf4

Please sign in to comment.