Skip to content
This repository was archived by the owner on Sep 19, 2018. It is now read-only.

Commit ebf8c1a

Browse files
author
Mateja
committed
Searchable tags
1 parent 81676f3 commit ebf8c1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/templates/pages/view_event.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ <h1>{{ event.title }}</h1>
162162
<p>
163163
{% for tag in event.tags.all %}
164164
{% if forloop.last %}
165-
{{ tag.name }}
165+
<a href="{% url 'web.search_events' %}?q={{ tag.name|urlencode }}">{{ tag.name }}</a>
166166
{% else %}
167-
{{ tag.name }},
167+
<a href="{% url 'web.search_events' %}?q={{ tag.name|urlencode }}">{{ tag.name }}</a>,
168168
{% endif %}
169169
{% endfor %}
170170
</p>

0 commit comments

Comments
 (0)