{% include 'montheatre/bookmarking.inc.html.twig' %}
{% if data_spectacles.supprime is defined and data_spectacles.supprime %}
<section class="tc-panel tc-alert-callout">
<div class="tc-panel-header">
<h2>Supprimé</h2>
</div>
<div class="tc-panel-body">
<div class="tc-block-body">
<p class="tc-neutral-color">Ce spectacle est en cours de suppression</p>
</div>
</div>
</section>
{% else %}
{% if data_spectacles.hors_ligne is defined and data_spectacles.hors_ligne %}
<section class="tc-panel tc-suppr-callout">
<div class="tc-panel-header">
<h2>Désactivé / hors ligne</h2>
</div>
<div class="tc-panel-body">
<div class="tc-block-body">
{% if is_granted('ROLE_ISROOT') == false %}
<p>
{{ app.user.login }}, ce spectacle est hors ligne : il n'est visible que par vous quand vous êtes connecté à votre compte
{% include "montheatre/montheatre_logo_pt.inc.html.twig" %}
</p>
<p>
{% if t_csrf is not defined %}
{% set t_csrf = '' %}
{% endif %}
Souhaitez-vous
<a
href="/ajoutspectacle/?do=publish&publish=1&tc={{ t_csrf }}&urifrom=/spectacles/{{ data_spectacles.urlClean }}/"
class="confirm_action"
title="Êtes-vous sur de vouloir changer le status de ce spectacle ?">
mettre ce spectacle en ligne
</a> ?
</p>
{% else %}
<p>{{ app.user.login }}, ce spectacle est hors ligne. Vous êtes administrateur, consultez-le et modifiez-le via l'extranet :
<a href="{{ backend }}/spectacles/edit/id/{{ data_spectacles.idspectacle }}">spectacle .{{ data_spectacles.idspectacle }}]</a></p>
{% endif %}
</div>
</div>
</section>
{% endif %}
{% if data_spectacles.incomplet is defined and data_spectacles.incomplet %}
<section class="tc-panel tc-suppr-callout">
<div class="tc-panel-header">
<h2>Dossier incomplet</h2>
</div>
<div class="tc-panel-body">
<div class="tc-block-body">
{% if is_granted('ROLE_ISROOT') == false %}
<p>{{ login }}, ce spectacle n'est pas complet. Il ne sera pas validé tant que vous n'aurez pas précisé toutes les étapes. Il n'est visible que par vous quand vous êtes connecté à votre compte
{% include 'montheatre/montheatre_logo_pt.inc.html.twig' %}
</p>
<p>Souhaitez-vous <a class="tc-color-link" href="/ajoutspectacle/informations/idspectacle/{{ data_spectacles.idspectacle }}?urifrom=/spectacles/{{ data_spectacles.url_clean }}/">compléter ce spectacle</a> ?</p>
{% else %}
<p>{{ app.user.login }}, ce spectacle est hors ligne et n'est pas validé parcequ'il est incomplet. Vous êtes administrateur, consultez-le et modifiez-le via l'extranet :
<a href="{{ extranet }}/spectacles/edit/id/{{ data_spectacles.idspectacle }}" class="tc-color-link">spectacle .{{ data_spectacles.idspectacle }}]</a>
</p>
{% endif %}
</div>
</div>
</section>
{% endif %}
{% if data_spectacles.validation_encours is defined and data_spectacles.validation_encours %}
<section class="tc-panel tc-ajout-callout">
<div class="tc-panel-header">
<h2>En cours de validation</h2>
</div>
<div class="tc-panel-body">
<div class="tc-block-body">
<p>{{ login }}, ce spectacle est en cours de validation. Il n'est visible que par vous quand vous êtes connecté à votre compte {% include 'montheatre/montheatre_logo_pt.inc.html.twig' %}</p>
<p>
<a href="#" class="more_infos" rel="infosvalidaton">+ d'infos sur les délais de validation</a>
<div id="infosvalidaton" class="more_infos_bloc hide">
<div class="more_infos_close">
<a href="#" class="tc-right-float">x fermer</a>
</div>
Les spectacles sont <strong>validés par l'équipe de theatre-contemporain.net</strong>,
pendant les <strong>jours ouvrables</strong> (du lundi au vendredi, de 9h30 à 16h30).
</div>
</p>
</div>
</div>
</section>
{% endif %}
{% endif %}
<section class="tc-header tc-logo-rubriques">
<header class="tc-panel">
<div class="tc-desktop-1_1 tc-phone-1_1">
{% if data_spectacles.vignette_object is defined and data_spectacles.vignette_object %}
<style>
.tc-background-blur::before{
background-image: url('{{ data_spectacles.vignette_object }}');
}
</style>
<figure class="tc-phone-1_1 tc-tablet-1_7 tc-background-blur">
{% if is_accueil is defined and is_accueil %}
<img class="tc-border-neutral" src="{{ data_spectacles.vignette_object }}" alt="Accueil de « {{ data_spectacles.title }} »" />
{% else %}
<a href="/spectacles/{{ data_spectacles.urlClean }}/" title="Accueil de « {{ data_spectacles.title }} »">
<img class="tc-border-neutral" src="{{ data_spectacles.vignette_object }}" alt="Accueil de « {{ data_spectacles.title }} »" /></a>
{% endif %}
</figure>
{% endif %}
<div class="tc-header row tc-phone-1_1 tc-tablet-6_7">
<h1>{{ data_spectacles.title }}</h1>
{% if country is defined and country %}
<p class="tc-subtitle">
{{ country }}
{% if birth_year %} –
{% if death_year is not defined %}
Né(e) en
{% endif %}
{{ birth_year }}
{% endif %}
{% if death_year %}
{% if birth_year is not defined %}
– ?
{% endif %}
- {{ death_year}}
{% endif %}
</p>
{% endif %}
{% if data_person.boss is defined and data_person.boss %}
<p class="tc-subtitle">
Voir aussi :
{% if data_person.boss is defined and data_person.boss %}
<span>
{% for idcontact,contact in data_person.boss %}
<a href="/contacts/{{ contact.url_clean }}/">
{{ contact.organisation }}
{% if contact.nopunct is not defined or (contact.nopunct is defined and not contact.nopunct) %}, {% endif %}
</a>
{% endfor %}
</span>
{% endif %}
</p>
{% endif %}
{% if data_spectacles.textfictif is defined and data_spectacles.textfictif %}
<p class="tc-subtitle">
{% if data_spectacles.alldirectors is defined and data_spectacles.alldirectors %}
{% for iddirector,director in data_spectacles.alldirectors %}
<a href="/biographies/{{ director.url_clean }}/">{{ director.firstname }} {{ director.lastname }}</a>
<span>
({% for idrole,role in director.roles %}
{{ role }}
{% endfor %})
</span>
{% if director.nopunct is not defined or (director.nopunct is defined and not director.nopunct) %}, {% endif %}
{% endfor %}
{% endif %}
</p>
{% else %}
{% if data_spectacles.textunique is defined and data_spectacles.textunique %}
<div class="tc-subtitle">
+ d'infos sur
<a href="/textes/{{ data_spectacles.url_clean_text }}/" title="{{ data_spectacles.title }}">
{% if data_spectacles.adaptation is defined and data_spectacles.adaptation %}
l'adaptation
{% else %}
le texte
{% endif %}
</a>
de
{% if data_spectacles.adaptation is defined and data_spectacles.adaptation %}
{% for idtext,text in data_spectacles.texts %}
{% for idauthor,author in text.authors %}
<a href="/biographies/{{ author.url_clean }}/">{{ author.firstname }} {{ author.lastname }}</a>
{% if author.nopunct is not defined or (author.nopunct is defined and not author.nopunct) %}, {% endif %}
{% endfor %}
{% endfor %}
{% else %}
{% if data_spectacles.texts is defined and data_spectacles.texts%}
{% for idtext,text in data_spectacles.texts %}
<span>
{% if text.allauthors is defined and text.allauthors %}
{% for idall,call in text.allauthors %}
<a href="/biographies/{{ call.url_clean }}/">{{ call.firstname }} {{ call.lastname }}</a>
{% if call.nopunct is not defined or (call.nopunct is defined and not call.nopunct) %}, {% endif %}
{% endfor %}
{% elseif text.authors is defined %}
{% for idperson,author in text.authors %}
<a href="/biographies/{{ author.url_clean }}/">{{ author.firstname }} {{ author.lastname }}</a>
{% endfor %}
{% endif %}
{% if text.alltranslators is defined and text.alltranslators %}
traduit par
{% for idperson,author in text.alltranslators %}
<a href="/biographies/{{ author.url_clean }}/">{{ author.firstname }} {{ author.lastname }}</a>
{% endfor %}
{% endif %}
</span>
{% endfor %}
{% else %}
{% if data_spectacles.otherauthor is defined and data_spectacles.otherauthor %}
{% for idauthor,author in data_spectacles.otherauthor %}
<a href="/biographies/{{ author.url_clean }}/">
{{ author.firstname }} {{ author.lastname }}
{% if author.nopunct is not defined or (author.nopunct is defined and not author.nopunct) %}, {% endif %}
</a>
{% endfor %}
{% endif %}
{% endif %}
{% endif %}
</div>
{% endif %}
{% if data_spectacles.adaptation is defined and data_spectacles.adaptation %}
<div class="tc-subtitle"> d'après
{% if data_spectacles.texts_adaptation is defined and data_spectacles.texts_adaptation %}
{% for idtext,text in data_spectacles.texts_adaptation %}
<span><a href="/textes/{{ text.url_clean }}/"><em>{{ text.title }}</em></a> de
{% for idperson,author in text.allauthors %}
<a href="/biographies/{{ author.url_clean }}/">{{ author.firstname }} {{ author.lastname }}</a>
{% if author.nopunct is not defined or (author.nopunct is defined and not author.nopunct) %}, {% endif %}
{% endfor %}
{% if text.nopunct is not defined or (text.nopunct is defined and not text.nopunct) %}, {% endif %}
{% endfor %}
{% endif %}
</span>
</div>
{% endif %}
<div class="tc-subtitle">
{% if data_spectacles.is_lecture is defined and data_spectacles.is_lecture %}
lecture dirigée par
{% else %}
{{ data_spectacles.typespectacle }}
{% endif %}
{% if data_spectacles.alldirectors is defined and data_spectacles.alldirectors %}
{% for iddirector,director in data_spectacles.alldirectors %}
<span>
<a href="/biographies/{{ director.url_clean }}/">
{{ director.firstname }} {{ director.lastname }}
{% if director.nopunct is not defined or (director.nopunct is defined and not director.nopunct) %}, {% endif %}
</a>
</span>
{% endfor %}
{% elseif data_spectacles.otherauthor is defined and data_spectacles.otherauthor %}
de
{% for idauthor,author in data_spectacles.otherauthor %}
<a href="/biographies/{{ author.url_clean }}/">
{{ author.firstname }} {{ author.lastname }}
{% if author.nopunct is not defined or (author.nopunct is defined and not author.nopunct) %}, {% endif %}
</a>
{% endfor %}
{% endif %}
</div>
{% if data_spectacles.texts|length > 1 %}
<div class="tc-subtitle">
Création à partir {% if data_spectacles.texts_multiple is defined and data_spectacles.texts_multiple %}des textes{% else %}du texte{% endif %}
{% for idtext,text in data_spectacles.texts %}
<span>
<a href="/textes/{{ text.url_clean }}/"><em>{{ text.title }}</em></a>
de
{% for idperson,author in text.authors %}
<a href="/biographies/{{ author.url_clean }}/">{{ author.firstname }} {{ author.lastname }}</a>{% if author.nopunct is not defined or (author.nopunct is defined and not author.nopunct) %}, {% endif %}
{% endfor %}
</span>
{% endfor %}
</div>
{% endif %}
</div>
{% endif %}
</div>
</header>
<nav class="tc-subnav">
<ul>
{% if menu_spectacle is defined and menu_spectacle %}
{% for k,v in menu_spectacle %}
{% if v.submenu is defined and v.submenu %}
<li>
{% if v.name is defined and v.name %}<a href="">{{ v.name|raw }}</a>
<ul>
{% for ksub,vsub in v.submenu %}
<li><a href="/spectacles/{{ data_spectacles.urlClean }}/{{ vsub.url }}/" >{{ vsub.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
</li>
{% else %}
{% if v.name is defined and v.name %}
{% if v.active is not defined or (v.active is defined and not v.active) %}
<li>
{% if v.url is defined and v.url %}
<a href="/spectacles/{{ data_spectacles.urlClean }}/{{ v.url }}/">{{ v.name|raw }}</a>
{% else %}
<a href="/spectacles/{{ data_spectacles.urlClean }}/">{{ v.name|raw }}</a>
{% endif %}
</li>
{% else %}
<li class="tc-item-on">
<a href="/spectacles/{{ data_spectacles.urlClean }}/{{ v.url }}">{{ v.name|raw }}</a>
</li>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
</ul>
</nav>
</section>
{% include "includes/navigation.inc.html.twig" %}