From d8d66aeeb6104b757eaa17fe259c176f32896f90 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Fri, 23 Jul 2021 09:16:22 +0200 Subject: [PATCH] remove old template members.html.twig https://gitlab.com/Chill-Projet/chill-bundles/-/commit/0add7572303726691e8d508dca7cf11864447135#note_633038526 --- .../views/Household/members.html.twig | 191 ------------------ 1 file changed, 191 deletions(-) delete mode 100644 src/Bundle/ChillPersonBundle/Resources/views/Household/members.html.twig diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Household/members.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Household/members.html.twig deleted file mode 100644 index 38b9c1474..000000000 --- a/src/Bundle/ChillPersonBundle/Resources/views/Household/members.html.twig +++ /dev/null @@ -1,191 +0,0 @@ -{% extends '@ChillPerson/Household/layout.html.twig' %} - -{% block title 'household.Household members'|trans %} - -{% block content %} -

{{ block('title') }}

- -{% if form is not null %} - {{ form_start(form) }} - - {{ form_row(form.commentMembers) }} - -
- {{ form_row(form.waitingForBirth) }} -
- -
- {{ form_row(form.waitingForBirthDate) }} -
- - - - {{ form_end(form) }} - -{% else %} - - {% if not household.commentMembers.isEmpty() %} - {{ household.commentMembers|chill_entity_render_box }} - {% endif %} - - {% if household.waitingForBirth %} - {% if household.waitingForBirthDate is not null %} - {{ 'household.Expecting for birth on date'|trans({ 'date': household.waitingForBirthDate|format_date('long') }) }} - {% else %} - {{ 'household.Expecting for birth'|trans }} - {% endif %} - {% else %} -

- {{ 'household.Any expecting birth'|trans }} -

- {% endif %} - - - -{% endif %} - -{% for p in positions %} -

{{ p.label|localize_translatable_string }}

- - {% if false == p.shareHousehold %} -

{{ 'household.Those members does not share address'|trans }}

- {% endif %} - - {%- set members = household.currentMembersByPosition(p) %} - {% if members|length > 0 %} -
- {% for m in members %} -
-
-
-
- {{ m.person|chill_entity_render_box({'addLink': true}) }} - {% if m.holder %} - {{ 'household.holder'|trans }} - {% endif %} -
-
- {{ 'Born the date'|trans({ 'gender': m.person.gender, 'birthdate': m.person.birthdate|format_date('long') }) }} -
-
-
-
    - {% if m.startDate is not empty %} -
  • {{ 'Since %date%'|trans({'%date%': m.startDate|format_date('long') }) }}
  • - {% endif %} - {% if m.endDate is not empty %} -
  • {{ 'Until %date%'|trans({'%date%': m.endDate|format_date('long') }) }}
  • - {% endif %} -
- -
-
- {% if m.comment is not empty %} -
-
- {{ m.comment|chill_markdown_to_html }} -
-
- {% endif %} -
- {% endfor %} -
- {% else %} -

{{ 'household.Any persons into this position'|trans }}

- {% endif %} - - {% set members = household.nonCurrentMembersByPosition(p) %} - {% if members|length > 0 %} -

- - -
-
- {% for m in members %} -
-
-
-
- {{ m.person|chill_entity_render_box({'addLink': true}) }} - {% if m.holder %} - {{ 'household.holder'|trans }} - {% endif %} -
-
- {{ 'Born the date'|trans({ 'gender': m.person.gender, 'birthdate': m.person.birthdate|format_date('long') }) }} -
-
-
-
    - {% if m.startDate is not empty %} -
  • {{ 'Since %date%'|trans({'%date%': m.startDate|format_date('long') }) }}
  • - {% endif %} - {% if m.endDate is not empty %} -
  • {{ 'Until %date%'|trans({'%date%': m.endDate|format_date('long') }) }}
  • - {% endif %} -
-
    -
  • - -
  • -
-
-
- {% if m.comment is not empty %} -
-
- {{ m.comment|chill_markdown_to_html }} -
-
- {% endif %} -
- {% endfor %} -
-
- - {% endif %} - -{% endfor %} - - - -{% endblock %} - -{% block js %} -{{ encore_entry_script_tags('household_edit_metadata') }} -{% endblock %}