display topics as badges
This commit is contained in:
parent
e32b79ea32
commit
9ee7862ee7
|
@ -60,9 +60,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% for topic in talk.topics.all %}
|
{% for topic in talk.topics.all %}
|
||||||
{{ topic }}
|
<span class="badge">{{ topic }}</span>
|
||||||
{% if forloop.revcounter == 2 %} {% trans "and" %} {% elif not forloop.last %}, {% endif %}
|
|
||||||
{% empty %}–
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ talk.track|default:"–" }}</td>
|
<td>{{ talk.track|default:"–" }}</td>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user