<section class="tc-panel">
{% if data_new.url_file is defined and data_new.url_file %}
<figure>
<img width="100%" src="{{ imgdirupload }}{{ data_new.vignette }}" alt="Illustration de {{ data_new.title }}" />
{% if data_new.copyright_file is defined and data_new.copyright_file %}
<figcaption>
© {{ data_new.copyright_file }}
</figcaption>
{% endif %}
</figure>
{% endif %}
</section>
<section class="tc-panel tc-border-context">
<div class="tc-panel-header">
<h2>Liens associés</h2>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
{% if data_new.location is defined and data_new.location %}
<p class="tc-textwrap-lieuville">
<span class="tc-text-label-inline">Lieu :</span>
{% if data_new.url is defined and data_new.url %}
<a href="{{ data_new.url }}" class="link_externe">{{ data_new.location }}</a>
{% else %}
{{ data_new.location }}
{% endif %}
</p>
{% endif %}
{% if data_new.hour is defined and data_new.hour %}
<p class="tc-textwrap">
<span class="tc-text-label-inline">Horaire :</span> {{ data_new.hour }} h
</p>
{% endif %}
{% if data_new.url_more is defined and data_new.url_more %}
<p class="tc-textwrap-titre">
<a href="{{ data_new.url_more }}" class="link_externe">Plus de détails sur l'évènement</a>
</p>
{% endif %}
{% if data_new.spectacles is defined and data_new.spectacles %}
<div class="tc-block-body-text">
<span class="tc-text-label-inline">Spectacle(s) :</span>
<ul class="tc-clean-list">
{% for idspectacle,spectacle in data_new.spectacles %}
<li><a href="/spectacles/{{ spectacle.url_clean }}">{{ spectacle.view_name }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if data_new.texts is defined and data_new.texts %}
<div class="tc-block-body-text">
<span class="tc-text-label-inline">Texte(s) :</span>
<ul class="tc-clean-list">
{% for idtext,text in data_new.texts %}
<li><a href="/textes/{{ text.url_clean }}/">{{ text.view_name }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if data_new.persons is defined and data_new.persons %}
<div class="tc-block-body-text">
<span class="tc-text-label-inline">Artiste(s) :</span>
<ul class="tc-clean-list">
{% for idperson,person in data_new.persons %}
<li><a href="/biographies/{{ person.url_clean }}/">{{ person.firstname }} {{ person.lastname }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if data_new.contacts is defined and data_new.contacts %}
<p>
<span class="tc-text-label-inline">Structure(s) :</span>
{% for idperson,contact in data_new.contacts %}
<a href="/contacts/{{ contact.url_clean }}/">
{% if contact.organisation %}
{{ contact.organisation }}
{% else %}
{{ contact.firstname }} {{ contact.lastname }}
{% endif %}
</a>
{% if contact.nopunct is not defined or (contact.nopunct is defined and not contact.nopunct) %}, {% endif %}
{% endfor %}
</p>
{% endif %}
</div>
</div>
</div>
</section>
<!--
<section class="tc-panel">
{if:data_new[schedule_detail]}
<table summary="calendrier des représentations de l'évènement" id="table_calendrier">
{foreach:data_new[schedule_detail],key,value}
<tr class="entete">
{if:value[dateshours][periode]}
<td class="dates">
<div class="ldates">
{foreach:value[dateshours],date,dateinfos}
{if:dateinfos[datedebut]}Du {dateinfos[datedebut]}{end:}
{if:dateinfos[datefin]}au {dateinfos[datefin]} {end:}
{end:}
</div>
</td>
{else:}
<td class="dates">
<div class="ldates">
Le {value[dateshours][date]}
{foreach:value[dateshours][hours],key,hour} <span class="hour">{hour[hour]}</span> {end:}
{foreach:value[dateshours][hours],key,hour}<span class="note">{hour[note]}</span> {end:}
</div>
</td>
{end:}
<td class="ville">{value[city]} {if:country}{value[country]}{end:}</td>
<td class="lieu">{value[organisation]}</td>
</tr>
{if:value[dateshours][periode]}
<tr class="datesd" id="detailsdate{key}">
<td colspan="3">
{foreach:value[calendar],calendar}
{calendar:h}
{end:}
</td>
</tr>
{end:}
{end:}
</table>
{else:}
<p class="nodate">Il n'y a aucune date et aucune lieu de représentation pour cet évènement !
<a href="/evenements/ajouter-calendrier/idnew/{idnew}">Ajoutez un premier lieu de représentation</a></p>
{end:}
<script type="text/javascript">
$(document).ready(function() {
$('#calendrier .calendar .highlighted, #calendrier .calendar .highlighted_passed').qtip({
style: { name: 'dark' },
position: { corner: { target: 'topRight', tooltip: 'bottomLeft' } }
});
});
</script>
</section>-->