diff --git a/src/Bundle/ChillMainBundle/Resources/views/Search/advanced_search.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Search/advanced_search.html.twig index abbaf1e14..1079aadec 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Search/advanced_search.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Search/advanced_search.html.twig @@ -20,25 +20,25 @@ {% block title title|trans %} {% block content %} -
+
-

{{ title|trans }}

+

{{ title|trans }}

- {{ form_start(form) }} + {{ form_start(form) }} - {% for f in form %} - {% if f.vars.name != 'submit' %} - {{ form_row(f) }} - {% endif %} - {% endfor %} + {% for f in form %} + {% if f.vars.name != 'submit' %} + {{ form_row(f) }} + {% endif %} + {% endfor %} - + - {{ form_end(form) }} + {{ form_end(form) }}
{% endblock %} diff --git a/src/Bundle/ChillMainBundle/Resources/views/Search/error.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Search/error.html.twig index bb872a3b2..80996db23 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Search/error.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Search/error.html.twig @@ -19,9 +19,9 @@ {% set _search_pattern = pattern %} {% block content %} -
+
-

{{ message }}

+

{{ message }}

{% endblock %} diff --git a/src/Bundle/ChillMainBundle/Resources/views/Search/list.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Search/list.html.twig index 2d890bd2b..db2d63c80 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Search/list.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Search/list.html.twig @@ -21,11 +21,11 @@ {% block title %}{{ 'Search %pattern%'|trans({ '%pattern%' : pattern }) }}{% endblock title %} {% block content %} -
+
- {% for result in results %} - {{ result|raw }} - {% endfor %} + {% for result in results %} + {{ result|raw }} + {% endfor %}
{% endblock %} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig index 3725684c8..76a6e18b1 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/create.html.twig @@ -17,7 +17,7 @@ {% extends "@ChillMain/layout.html.twig" %} {% block title %}{{ 'Add a person'|trans }}{% endblock title %} - + {% block content %}
@@ -47,6 +47,5 @@ {{ form_end(form) }} -
{% endblock content %} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/create_review.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/create_review.html.twig index 8c5b6eb35..9e715c640 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Person/create_review.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/create_review.html.twig @@ -17,80 +17,75 @@ {% extends "@ChillMain/layout.html.twig" %} {% block title %}{{ 'Alreay existing person'|trans }}{% endblock title %} - -{% block content %} -
-
- -
- -
- - {% transchoice alternatePersons|length with { '%nb%': alternatePersons|length } %} - %nb% person with similar name. Please verify that this is a new person - {% endtranschoice %} - -
- - {% if alternatePersons is not empty %} - - - - - - - - - - {% for person in alternatePersons %} - - - - - - {% endfor %} - -
{{ 'Name'|trans }}{{ 'Date of birth'|trans }}{{ 'Nationality'|trans }}
- - {{ person|chill_entity_render_string }}{% apply spaceless %} - {% if person.isOpen == false %} - - {% endif %} - {% endapply %} - - {% if person.birthdate is not null %}{{ person.birthdate|format_date('long') }}{% else %} {% endif %} - {% if person.nationality is not null %}{{ person.nationality.name|localize_translatable_string }}{% else %}{{ 'Without nationality'|trans }}{% endif %} -
- {% endif %} - -
- {{ form_start(form) }} -

{{ 'You will create this person'|trans }}

-
-
{{ 'Name'|trans }}
-
{{ person|chill_entity_render_string }}
- -
{{ 'Date of birth'|trans }}
-
{{ birthdate|format_date('long')|default( 'Unknown date of birth'|trans ) }}
- -
{{ 'Gender'|trans }}
-
{{ gender|trans }}
- -
{{ 'Creation date'|trans }}
-
{{ creation_date|format_date('long') }}
- - {% if form.altNames is defined %} - {# mark as rendered #} - {{ form_widget(form.altNames) }} - {% endif %} -
- - {{ form_rest(form) }} - - {{ form_end(form) }} -
-
+{% block content %} +
+ +
+ + {% transchoice alternatePersons|length with { '%nb%': alternatePersons|length } %} + %nb% person with similar name. Please verify that this is a new person + {% endtranschoice %} +
-
+ + {% if alternatePersons is not empty %} + + + + + + + + + + {% for person in alternatePersons %} + + + + + + {% endfor %} + +
{{ 'Name'|trans }}{{ 'Date of birth'|trans }}{{ 'Nationality'|trans }}
+ + {{ person|chill_entity_render_string }}{% apply spaceless %} + {% if person.isOpen == false %} + + {% endif %} + {% endapply %} + + {% if person.birthdate is not null %}{{ person.birthdate|format_date('long') }}{% else %} {% endif %} + {% if person.nationality is not null %}{{ person.nationality.name|localize_translatable_string }}{% else %}{{ 'Without nationality'|trans }}{% endif %} +
+ {% endif %} + +
+ {{ form_start(form) }} +

{{ 'You will create this person'|trans }}

+
+
{{ 'Name'|trans }}
+
{{ person|chill_entity_render_string }}
+ +
{{ 'Date of birth'|trans }}
+
{{ birthdate|format_date('long')|default( 'Unknown date of birth'|trans ) }}
+ +
{{ 'Gender'|trans }}
+
{{ gender|trans }}
+ +
{{ 'Creation date'|trans }}
+
{{ creation_date|format_date('long') }}
+ + {% if form.altNames is defined %} + {# mark as rendered #} + {{ form_widget(form.altNames) }} + {% endif %} +
+ + {{ form_rest(form) }} + + {{ form_end(form) }} +
+ +
{% endblock content %} diff --git a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/index.html.twig b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/index.html.twig index e5c60412a..149a5401c 100644 --- a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/index.html.twig +++ b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/index.html.twig @@ -31,15 +31,13 @@ {% if person is not null %} {% block personcontent %}
- {% include 'ChillTaskBundle:SingleTask:_list.html.twig' %} + {% include 'ChillTaskBundle:SingleTask:_list.html.twig' %}
{% endblock %} {% else %} {% block content %} -
-
- {% include 'ChillTaskBundle:SingleTask:_list.html.twig' %} -
+
+ {% include 'ChillTaskBundle:SingleTask:_list.html.twig' %}
{% endblock %} {% endif %}