speaker list: improve transport/hosting rendering
This commit is contained in:
parent
0132f84456
commit
26f5e35d5a
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue