mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 10:59:45 +00:00
41 lines
1.5 KiB
Twig
41 lines
1.5 KiB
Twig
{% extends "@ChillPerson/Person/layout.html.twig" %}
|
|
|
|
{% set activeRouteKey = 'chill_person_accompanying_period_list' %}
|
|
|
|
{% block title %}{{ 'Person accompanying period - %name%'|trans({ '%name%' : person.__toString}) }}{% endblock title %}
|
|
|
|
{% block personcontent %}
|
|
<h1>{{ 'Accompanying period list'|trans }}</h1>
|
|
|
|
{% include 'ChillPersonBundle:AccompanyingPeriod:_list.html.twig' %}
|
|
|
|
<ul class="record_actions sticky-form-buttons">
|
|
<li class="cancel">
|
|
<a href="{{ path ('chill_person_view', {'person_id' : person.id } ) }}" class="btn btn-cancel">
|
|
{{ 'Person details'|trans }}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path ('chill_person_accompanying_course_new', {'person_id' : [ person.id ] } ) }}" class="btn btn-create">
|
|
{{ 'Create an accompanying period'|trans }}
|
|
</a>
|
|
</li>
|
|
{#
|
|
<li>
|
|
<a href="{{ path ('chill_person_accompanying_period_create', {'person_id' : person.id } ) }}" class="btn btn-create has-hidden">
|
|
<span class="show-on-hover">{{ 'Add an accompanying period in the past'|trans }}</span>
|
|
</a>
|
|
</li>
|
|
{% if person.isOpen == false %}
|
|
<li>
|
|
<a href="{{ path('chill_person_accompanying_period_open', {'person_id' : person.id} ) }}" class="btn btn-create change-icon has-hidden">
|
|
<i class="fa fa-unlock" aria-hidden="true"></i>
|
|
<span class="show-on-hover">{{'Begin a new accompanying period'|trans }}</span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
#}
|
|
</ul>
|
|
|
|
{% endblock %}
|