+
{{ accompanying_period.id }}
{% if accompanying_period.step == 'DRAFT' %}
- {{- 'Draft'|trans|upper -}}
+ {{- 'Draft'|trans|upper -}}
{% else %}
- {{- 'Confirmed'|trans|upper -}}
+ {{- 'Confirmed'|trans|upper -}}
{% endif %}
{% if accompanying_period.emergency %}
- {{- 'Emergency'|trans|upper -}}
+ {{- 'Emergency'|trans|upper -}}
{% endif %}
{% if accompanying_period.confidential %}
- {{- 'Confidential'|trans|upper -}}
+ {{- 'Confidential'|trans|upper -}}
{% endif %}
-
-
- {% if accompanying_period.closingDate == null %}
- {{ 'accompanying_period.dates_from_%opening_date%'|trans({ '%opening_date%': accompanying_period.openingDate|format_date('long') } ) }}
- {% else %}
- {{ 'accompanying_period.dates_from_%opening_date%_to_%closing_date%'|trans({
- '%opening_date%': accompanying_period.openingDate|format_date('long'),
- '%closing_date%': accompanying_period.closingDate|format_date('long')}
- ) }}
- {% if accompanying_period.isOpen == false %}
-
- - {{ 'Closing motive'|trans }} :
- - {{ accompanying_period.closingMotive|chill_entity_render_box }}
-
+ {% if accompanying_period.closingDate == null %}
+ {{ 'accompanying_period.dates_from_%opening_date%'|trans({ '%opening_date%': accompanying_period.openingDate|format_date('long') } ) }}
+ {% else %}
+ {{ 'accompanying_period.dates_from_%opening_date%_to_%closing_date%'|trans({
+ '%opening_date%': accompanying_period.openingDate|format_date('long'),
+ '%closing_date%': accompanying_period.closingDate|format_date('long')}
+ ) }}
+ {% if accompanying_period.isOpen == false %}
+
+ - {{ 'Closing motive'|trans }} :
+ - {{ accompanying_period.closingMotive|chill_entity_render_box }}
+
+ {% endif %}
{% endif %}
- {% endif %}
-
{% if chill_accompanying_periods.fields.user == 'visible' %}
{% if accompanying_period.user %}
@@ -52,10 +49,9 @@
{% endif %}
{% endif %}
-
-
+
{{ 'Participants'|trans }}
{% if accompanying_period.participations.count > 0 %}
@@ -70,10 +66,8 @@
{{ 'No data given'|trans }}
{% endif %}
-
-
{{ 'Requestor'|trans }}
{% if accompanying_period.requestorPerson is not null or accompanying_period.requestorThirdParty is not null %}
@@ -91,10 +85,8 @@
{{ 'No data given'|trans }}
{% endif %}
-
-
{{ 'Social issues'|trans }}
{% if accompanying_period.socialIssues.count > 0 %}
{% for si in accompanying_period.socialIssues %}
@@ -103,45 +95,47 @@
{% else %}
{{ 'No data given'|trans }}
{% endif %}
-
-
{% endfor %}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig
index 67c5fc59f..e618eeab2 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig
@@ -128,7 +128,7 @@
{%- if options['customButtons']['replace'] is not defined and is_granted('CHILL_PERSON_SEE', person) -%}
-
{%- else -%}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig
index dc2f5e054..f35ca0a60 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/list_with_period.html.twig
@@ -1,7 +1,7 @@
{% macro button_person(person) %}
+ class="btn btn-sm btn-primary" title="{{ 'See accompanying periods'|trans }}">
{% endmacro %}
diff --git a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml
index 048d4a61a..52254295b 100644
--- a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml
+++ b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml
@@ -192,7 +192,8 @@ Social issues: Problématiques sociales
Last events on accompanying course: Dernières actions de suivi
Edit & activate accompanying course: Modifier et valider
See accompanying periods: Voir les périodes d'accompagnement
-See accompanying period: Voir cette période d'accompagnement
+See accompanying period: Voir la période
+Edit accompanying period: Modifier la période
See this period: Voir cette période
Referrer: Référent
Some peoples does not belong to any household currently. Add them to an household soon: Certaines personnes n'appartiennent à aucun ménage actuellement. Renseignez leur appartenance à un ménage dès que possible.
diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/Entity/thirdparty.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/Entity/thirdparty.html.twig
index 44a6beabe..4ad66ce1d 100644
--- a/src/Bundle/ChillThirdPartyBundle/Resources/views/Entity/thirdparty.html.twig
+++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/Entity/thirdparty.html.twig
@@ -94,7 +94,7 @@
{%- if options['customButtons']['replace'] is not defined and is_granted('CHILL_3PARTY_3PARTY_SHOW', thirdparty) -%}
-
{%- else -%}