<div class="tc-block-inner">
<div class="tc-block-header">
{% if spectacle.role_header is defined and spectacle.role_header %}
{% if spectacle.roles is defined and spectacle.roles %}
<p class="tc-text-label-inline">
{% for role in spectacle.roles %}
{{ role.role }}
{% if role.nopunct is not defined or (role.nopunct is defined and not role.nopunct) %}, {% endif %}
{% endfor %}
</p>
{% endif %}
{% endif %}
<span class="tc-textwrap-titre">
{% set url_clean_more = '' %}
{% if spectacle.url_clean_more is defined %}
{% set url_clean_more = spectacle.url_clean_more %}
{% endif %}
<a href="/spectacles/{{ spectacle.url_clean }}/{{ url_clean_more }}" class="tc-titre tc-text-overflow">{{ spectacle.title|raw }}</a>
</span>
</div>
<div class="tc-block-body">
<figure class="tc-media-thumbnail">
<a href="/spectacles/{{ spectacle.url_clean }}/{{ url_clean_more }}" title="Voir la fiche de ce spectacle">
<img src="{{ spectacle.vignette_affiche }}" class="tc-border-neutral" alt="{{ spectacle.title }}" />
</a>
<figcaption class="show-for-sr">
Image de {{ spectacle.title }}
</figcaption>
</figure>
<div class="tc-block-body-text">
{% if spectacle.allpersons is defined and spectacle.allpersons %}
<p class="tc-textwrap-auteur tc-textwrap-margin">
{% for idpersons,persons in spectacle.allpersons %}
<a href="/biographies/{{ persons.url_clean }}/">
{{ persons.firstname }} {{ persons.lastname }}</a>{% if persons.nopunct is not defined or persons.nopunct == false %}, {% endif %}
{% endfor %}
</p>
{% endif %}
{% if spectacle.allauthors is defined and spectacle.allauthors %}
{% for idauthors,authors in spectacle.allauthors %}
<p class="tc-textwrap-auteur tc-textwrap-margin">
<a href="/biographies/{{authors.url_clean }}/">
{{ authors.firstname }} {authors.lastname }}</a>{% if authors.nopunct is not defined or authors.nopunct == false %}, {% endif %}
</p>
{% endfor %}
{% endif %}
{% if spectacle.allauthors is defined and spectacle.allauthors %}
{% for spectacle,alldirectors in spectacle.allauthors %}
<p class="tc-textwrap-auteur tc-textwrap-margin">
<a href="/biographies/{{ director.url_clean }}/">
{{ director.firstname }} {director.lastname }}</a>{% if director.nopunct is not defined or director.nopunct == false %}, {% endif %}
</p>
{% endfor %}
{% endif %}
{% if spectacle.display.affiche_date_creation is defined and spectacle.display.affiche_date_creation %}
{% if spectacle.creation_date is defined and spectacle.creation_date %}
<p class="tc-textwrap-date">
Créé en {{ spectacle.annee_creation }}
{% if spectacle.contact_creation is defined and spectacle.contact_creation %}
<a href="/contacts/{{ spectacle.contact_creation.url_clean }}">{{ spectacle.contact_creation.organisation }}</a>
{% if spectacle.contact_creation.country is defined and spectacle.contact_creation.country %}
{% if spectacle.contact_creation.city is defined and spectacle.contact_creation.city %}
{{ spectacle.contact_creation.city }}
{% endif %}
{{ spectacle.contact_creation.country }}
{% endif %}
{% endif %}
</p>
{% endif %}
{% else %}
{% if no_date is not defined or no_date == false %}
{% if spectacle.prochdate is defined and spectacle.prochdate %}
<p class="tc-textwrap-date">
{{ spectacle.prochdate }}
</p>
{% if spectacle.city is defined and spectacle.city %}
{% if spectacle.city_top is not defined or spectacle.city_top == false %}
<p class="tc-textwrap-lieuville"><span class=tc-text-label-inline> à </span>{{ spectacle.city }}</p>
{% endif %}
{% endif %}
{% if spectacle.affcontact is defined and spectacle.affcontact %}
{% if spectacle.contact is defined and spectacle.contact %}
- <a href="/contacts/{{ spectacle.contact.url_clean }}/">{{ spectacle.contact.organisation }}</a>
{% endif %}
{% endif %}
{% else %}
{% if spectacle.periode is defined and spectacle.periode %}
{% if spectacle.footer_date is not defined or spectacle.footer_date == false %}
<p class="tc-textwrap-date">
<span class="tc-text-label-inline">du</span>
{{ spectacle.periode.datestart }}
<span class="tc-text-label-inline">au</span>
{{ spectacle.periode.dateend }}
</p>
{% if spectacle.city is defined and spectacle.city %}
{% if spectacle.city_top is not defined or spectacle.city_top == false %}
<p class="tc-textwrap-lieuville">
<span class="tc-text-label-inline">à </span>{{ spectacle.city }}
</p>
{% endif %}
{% endif %}
{% endif %}
{% if spectacle.affcontact is defined and spectacle.affcontact %}
{% if spectacle.contact is defined and spectacle.contact %}
<p class="tc-textwrap-lieuville">
<a href="/contacts/{{ spectacle.contact.url_clean }}/">{{ spectacle.contact.organisation }}</a>
</p>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% if spectacle.editeur_top is defined and spectacle.editeur_top %}
<span>Édité par</span>
<p class="tc-text-label">
<a href="/editions/{{ spectacle.publisher.url_cleantext }}/">{{ spectacle.publisher.organisation }}</a>
</p>
{% endif %}
{% if spectacle.city_top is defined and spectacle.city_top %}
<p class="tc-textwrap-lieuville"><span class="tc-text-label-inline">à </span>{{ spectacle.city_top }}</p>
{% endif %}
{% endif %}
</div>
</div>
<div class="tc-block-footer">
<p class="tc-textwrap-lieuville">
<a href="/spectacles/{{ spectacle.url_clean }}/{{ url_clean_more }}">{{ spectacle.critiques }} critiques</a>
</p>
</div>
</div>