2016-08-23 16:22:06 +02:00
|
|
|
{% for show in shows %}
|
|
|
|
<table id="spectacle-{{ show.id }}">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th colspan="2">
|
|
|
|
<p style="text-align: center;">{{ show.title }}</p>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>{{ show.location }}</td>
|
2016-08-26 05:28:04 +02:00
|
|
|
<td>{% if show.category %}{{ show.category }}{% endif %}</td>
|
2016-08-23 16:22:06 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>{{ show.date }}</td>
|
|
|
|
<td>{{ show.slots }} place{{ show.slots|pluralize}} - show.price</td>
|
|
|
|
</tr>
|
2016-08-26 05:28:04 +02:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<p style="text-align: justify;">{{ show.vips }}</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2016-08-23 16:22:06 +02:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<p style="text-align: justify;">{{ show.description }}</p>
|
2016-08-26 05:28:04 +02:00
|
|
|
{% for quote in show.quote_set.all %}
|
|
|
|
<br />
|
|
|
|
<p style="text-align: center;">“{{ quote.text }}”</p>
|
|
|
|
<div align="right">{{ quote.author }}</div>
|
|
|
|
{% endfor %}
|
2016-08-23 16:22:06 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% if slots_description != "" %}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
{{ show.slots_description }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
2016-08-26 05:28:04 +02:00
|
|
|
{% if show.image %}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<p style="text-align: center;">
|
|
|
|
{% if show.ext_link != "" %}
|
|
|
|
<a href="{{ show.ext_link }}"
|
|
|
|
<img style="display: inline;" src="{{ show.image }}" alt="{{ show.title }}" />
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<img style="display: inline;" src="{{ show.image }}" alt="{{ show.title }}" />
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% elif show.ext_link != "" %}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<a href="{{ show.ext_link }}">Lien vers le site du spectacle</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
2016-08-23 16:22:06 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endfor %}
|