mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-25 19:46:13 +00:00
84 lines
3.4 KiB
Twig
84 lines
3.4 KiB
Twig
{% extends "@ChillPerson/AccompanyingCourse/layout.html.twig" %}
|
|
|
|
{% import '@ChillPerson/AccompanyingPeriodWorkDuplicate/_details.html.twig' as details %}
|
|
|
|
{% block title %}{{ 'acpw_duplicate.title'|trans }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container-fluid content"><div class="duplicate-content">
|
|
|
|
<h1>{{ 'acpw_duplicate.title'|trans }}</h1>
|
|
|
|
<div class="col-md-11">
|
|
<p><b>{{ 'acpw_duplicate.Accompanying period work to delete'|trans }}</b>:
|
|
{{ 'acpw_duplicate.Accompanying period work to delete explanation'|trans }}
|
|
</p>
|
|
<div class="col">
|
|
|
|
<h1><span><a class="btn btn-show" target="_blank" title="{{ 'Open in another window'|trans }}" href="{{ path('chill_crud_3party_3party_view', { id : acpw2.id }) }}"></a></span>
|
|
</h1>
|
|
|
|
<h4>{{ 'Deleted datas'|trans ~ ':' }}</h4>
|
|
<div class="accompanying-course-work">
|
|
<div class="flex-table">
|
|
{{ details.details(acpw2, accompanyingCourse) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-11 mt-3">
|
|
<p><b>{{ 'acpw_duplicate.Accompanying period work to keep'|trans }}</b>:
|
|
{{ 'acpw_duplicate.Accompanying period work to keep explanation'|trans }}
|
|
</p>
|
|
<div class="col border">
|
|
|
|
<h1><span><a class="btn btn-show" target="_blank" title="{{ 'Open in another window'|trans }}" href="{{ path('chill_person_accompanying_period_work_show', { id : acpw.id }) }}"></a></span>
|
|
</h1>
|
|
|
|
<h4>{{ 'acpw_duplicate.Data to keep'|trans ~ ':' }}</h4>
|
|
<div class="accompanying-course-work">
|
|
<div class="flex-table">
|
|
{{ details.details(acpw, accompanyingCourse) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{ form_start(form) }}
|
|
|
|
<div class="col-md-12 centered">
|
|
|
|
<div class="container-fluid" style="padding-top: 1em;">
|
|
<div class="clear" style="padding-top: 10px;">
|
|
{{ form_widget(form.confirm) }}
|
|
</div>
|
|
<div class="col-11">
|
|
{{ form_label(form.confirm) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<ul class="col-12 record_actions">
|
|
<li class="cancel">
|
|
<a href="{{ path('chill_person_accompanying_period_work_assign_duplicate', {id : acpw.id}) }}" class="btn btn-chill-gray center margin-5">
|
|
{{ 'Return'|trans }}
|
|
</a>
|
|
</li>
|
|
<li class="cancel">
|
|
<a href="{{ path('chill_person_acpw_duplicate_confirm', { acpw1_id : acpw2.id, acpw2_id : acpw.id }) }}"
|
|
class="btn btn-action">
|
|
<i class="fa fa-exchange"></i>
|
|
{{ 'Invert'|trans }}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<button class="btn btn-submit" type="submit"><i class="fa fa-cog fa-fw"></i>{{ 'Merge'|trans }}</button>
|
|
</li>
|
|
</ul>
|
|
|
|
{{ form_end(form) }}
|
|
|
|
</div></div>
|
|
{% endblock %}
|