Adding ':' for into Resources/views/Person/view.html.twig

This commit is contained in:
Marc Ducobu 2015-08-26 11:54:12 +02:00
parent c4765c13d2
commit d0176a4ba3

View File

@ -41,13 +41,13 @@ This view should receive those arguments:
<h2 class="chill-red">{{ 'General information'|trans|upper }}</h2> <h2 class="chill-red">{{ 'General information'|trans|upper }}</h2>
<dl> <dl>
<dt>{{ 'First name'|trans }}</dt> <dt>{{ 'First name'|trans }} :</dt>
<dd>{{ person.firstName }}</dd> <dd>{{ person.firstName }}</dd>
<dt>{{ 'Last name'|trans }}</dt> <dt>{{ 'Last name'|trans }} :</dt>
<dd>{{ person.lastName }}</dd> <dd>{{ person.lastName }}</dd>
<dt>{{ 'Gender'|trans }}</dt> <dt>{{ 'Gender'|trans }} :</dt>
<dd>{{ ( person.gender|default('Not given'))|trans }}</dd> <dd>{{ ( person.gender|default('Not given'))|trans }}</dd>
</dl> </dl>
@ -63,7 +63,7 @@ This view should receive those arguments:
<h2 class="chill-green"><i class="fa fa-birthday-cake"></i>&nbsp;{{ 'Birth information'|trans|upper }}</h2> <h2 class="chill-green"><i class="fa fa-birthday-cake"></i>&nbsp;{{ 'Birth information'|trans|upper }}</h2>
<dl> <dl>
<dt>{{ 'Date of birth'|trans }}</dt> <dt>{{ 'Date of birth'|trans }} :</dt>
<dd> <dd>
{%- if person.birthdate is not null -%} {%- if person.birthdate is not null -%}
{{ person.birthdate|localizeddate('long', 'none') }} {{ person.birthdate|localizeddate('long', 'none') }}
@ -72,7 +72,7 @@ This view should receive those arguments:
{%- endif -%} {%- endif -%}
</dd> </dd>
<dt>{{ 'Place of birth'|trans }}</dt> <dt>{{ 'Place of birth'|trans }} :</dt>
<dd>{{ person.placeOfBirth }}</dd> <dd>{{ person.placeOfBirth }}</dd>
<dd>{% spaceless %} <dd>{% spaceless %}
{% if person.countryOfBirth is not null %} {% if person.countryOfBirth is not null %}
@ -96,7 +96,7 @@ This view should receive those arguments:
<h2 class="chill-orange">{{ 'Administrative information'|trans|upper }}</h2> <h2 class="chill-orange">{{ 'Administrative information'|trans|upper }}</h2>
<dl> <dl>
<dt>{{ 'Nationality'|trans }}</dt> <dt>{{ 'Nationality'|trans }} :</dt>
<dd> <dd>
{% if person.nationality is not null %} {% if person.nationality is not null %}
{{ person.nationality.name|localize_translatable_string }} {{ person.nationality.name|localize_translatable_string }}
@ -106,7 +106,7 @@ This view should receive those arguments:
</dd> </dd>
</dl> </dl>
<dl> <dl>
<dt>{{'Spoken languages'|trans}}</dt> <dt>{{'Spoken languages'|trans}} :</dt>
<dd> <dd>
{% if person.spokenLanguages|length == 0 %} {% if person.spokenLanguages|length == 0 %}
{{ 'Unknown spoken languages'|trans }} {{ 'Unknown spoken languages'|trans }}
@ -118,7 +118,7 @@ This view should receive those arguments:
</dd> </dd>
</dl> </dl>
<dl> <dl>
<dt>{{'Marital status'|trans}}</dt> <dt>{{'Marital status'|trans}} :</dt>
<dd> <dd>
{% if person.maritalStatus is not null %} {% if person.maritalStatus is not null %}
{{ person.maritalStatus.name|localize_translatable_string }} {{ person.maritalStatus.name|localize_translatable_string }}
@ -138,11 +138,11 @@ This view should receive those arguments:
<h2 class="chill-blue"><i class="fa fa-envelope-o"></i>&nbsp;{{ 'Contact information'|trans|upper }}</h2> <h2 class="chill-blue"><i class="fa fa-envelope-o"></i>&nbsp;{{ 'Contact information'|trans|upper }}</h2>
<dl> <dl>
<dt>{{ 'Email'|trans }}</dt> <dt>{{ 'Email'|trans }} :</dt>
<dd><pre>{{ person.email}}&nbsp;</pre></dd> <dd><pre>{{ person.email}}&nbsp;</pre></dd>
</dl> </dl>
<dl> <dl>
<dt>{{ 'Phonenumber'|trans }}</dt> <dt>{{ 'Phonenumber'|trans }} :</dt>
<dd><pre>{{ person.phonenumber}}&nbsp;</pre></dd> <dd><pre>{{ person.phonenumber}}&nbsp;</pre></dd>
</dl> </dl>
@ -162,7 +162,7 @@ This view should receive those arguments:
{% if customField.type == 'title' %} {% if customField.type == 'title' %}
{{ chill_custom_field_widget(person.cFData , customField) }} {{ chill_custom_field_widget(person.cFData , customField) }}
{% else %} {% else %}
<dt>{{ chill_custom_field_label(customField) }}</dt> <dt>{{ chill_custom_field_label(customField) }} :</dt>
<dd>{{ chill_custom_field_widget(person.cFData , customField) }}</dd> <dd>{{ chill_custom_field_widget(person.cFData , customField) }}</dd>
{% endif %} {% endif %}
{% endfor %} {% endfor %}