speaker list: improve transport/hosting rendering

This commit is contained in:
Élie Bouttier 2016-10-03 14:18:28 +02:00
parent 0132f84456
commit 26f5e35d5a
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@
<td>{{ speaker.user.get_full_name }}</td>
<td class="text-right">{{ speaker.talk_set.count }}</td>
{% if speaker.need_transport %}
<td class="warning">
<td class="{% if speaker.transport_booked %}success{% else %}warning{% endif %}">
{% for transport in speaker.transport.all %}
{% if not forloop.first %}, {% endif %}
{{ transport }}
@ -66,7 +66,7 @@
<td></td>
{% endif %}
{% if speaker.need_hosting %}
<td class="warning">
<td class="{% if speaker.hosting_booked %}success{% else %}warning{% endif %}">
{% if speaker.homestay %}
Logement chez habitant
{% else %}