{% extends 'templates.html.twig' %}
{% block headcontent %}
<section class="tc-header tc-logo-rubriques" id="top">
<header class="tc-panel">
<div class="tc-desktop-2_3 tc-phone-1_1">
<figure class="tc-phone-1_1 tc-tablet-1_6 tc-figure-biographies">
{% if thumbnail is defined and thumbnail %}
{% if is_accueil is defined and is_accueil %}
<img src="{{ thumbnail }}" class="tc-neutral-color" alt="Photo de {{ fullname }}" />
{% else %}
<a href="/biographies/{{ url_clean }}/" title="Actualités de {{ fullname }}">
<img src="{{ thumbnail }}" alt="Photo de {{ fullname }}" class="tc-neutral-color" />
</a>
{% endif %}
{% else %}
{% if is_accueil is defined and is_accueil %}
<img class="tc-neutral-color" src="/images/menu/interface/no_user_v5.png" alt="Pas de photographie de cet auteur" />
{% else %}
<a href="/biographies/{{ url_clean }}/">
<img class="tc-neutral-color" src="/images/menu/interface/no_user_v5.png" alt="Pas de photographie de cet auteur" />
</a>
{% endif %}
{% endif %}
</figure>
<div class="tc-header row tc-phone-1_1 tc-tablet-5_6">
<header>
<h1>{{ fullname }}</h1>
<p class="tc-subtitle">
{% if country is defined and country %}
{{ country|trans }}
{% endif %}
{% if birth_year is defined and birth_year %} –
{% if death_year == false %}
Né(e) en
{% endif %}
{{ birth_year }}
{% endif %}
{% if death_year is defined and death_year %}
{% if birth_year == false %}
– ?
{% endif %} -
{{ death_year }}
{% endif %}
</p>
{% if data_person.boss is defined and data_person.boss %}
<p class="tc-subtitle">
Voir aussi :
<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>
</p>
{% endif %}
</header>
</div>
</div>
{% if links_exist is defined and links_exist %}
<div class="tc-panel-body tc-desktop-1_3 tc-phone-1_1" >
<div class="tc-block tc-border-neutral" style="margin:0">
<div class="tc-block-body-text">
<p class="">Suivre aussi {{ fullname }} sur :</p>
<ul class="tc-clean-list">
{% if data_person.link is defined and data_person.link %}
<li><a href="{{ data_person.link }}">son site Internet</a></li>
{% endif %}
{% if data_person.facebook is defined and data_person.facebook %}
<li><a href="{{ data_person.facebook }}">facebook</a></li>
{% endif %}
{% if data_person.twitter is defined and data_person.twitter %}
<li><a href="{{ data_person.twitter }}">twitter</a></li>
{% endif %}
{% if data_person.linkedin is defined and data_person.linkedin %}
<li><a href="{{ data_person.linkedin }}">linkedin</a></li>
{% endif %}
{% if data_person.instagram is defined and data_person.instagram %}
<li><a href="{{ data_person.instagram }}">instagram</a></li>
{% endif %}
</ul>
</div>
</div>
</div>
{% endif %}
</header>
<nav class="tc-subnav">
<ul>
{% for k,v in menu_person %}
{% if v.active is not defined %}
<li>
{% if v.first is defined and v.first %}
<a href="/biographies/{{ url_clean }}/" title="{{ v.title }}">{{ v.nom|raw }}</a>
{% else %}
<a href="/biographies/{{ url_clean }}/{{ k }}/" title="{{ v.title }}">{{ v.nom|raw }}</a>
{% endif %}
</li>
{% elseif v.active == 'on' and v.title is defined %}
<li class="tc-item-on">
<a href="/biographies/{{ url_clean }}/{{ k }}/" title="{{ v.title }}">{{ v.nom|raw }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</nav>
</section>
{% endblock %}
{% block content %}
{% include 'includes/navigation.inc.html.twig' %}
{% include 'montheatre/bookmarking.inc.html.twig' %}
{% block subcontents %}
{% endblock %}
{% endblock %}