mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
@@ -38,7 +38,7 @@
|
||||
{% endspaceless %}
|
||||
</a>
|
||||
</td>
|
||||
<td>{{ person.dateOfBirth|date(date_format) }}</td>
|
||||
<td>{{ person.dateOfBirth|localizeddate('long', 'none', app.request.locale) }}</td>
|
||||
<td>{% if person.nationality is not null %}{{ person.nationality.name|localize_translatable_string }}{% else %}{{ 'Without nationality'|trans }}{% endif %}
|
||||
</tr>
|
||||
|
||||
@@ -61,13 +61,13 @@
|
||||
<dd>{{ lastName }}</dd>
|
||||
|
||||
<dt>{{ 'Date of birth'|trans }}</dt>
|
||||
<dd>{{ dateOfBirth|date(date_format)|default( 'Unknown date of birth'|trans ) }}</dd>
|
||||
<dd>{{ dateOfBirth|localizeddate('medium', 'none', app.request.locale)|default( 'Unknown date of birth'|trans ) }}</dd>
|
||||
|
||||
<dt>{{ 'Gender'|trans }}</dt>
|
||||
<dd>{{ genre|trans }}</dd>
|
||||
|
||||
<dt>{{ 'Creation date'|trans }}</dt>
|
||||
<dd>{{ creation_date|date(date_format) }}</dd>
|
||||
<dd>{{ creation_date|localizeddate('medium', 'none', app.request.locale) }}</dd>
|
||||
</dl>
|
||||
|
||||
{{ form_rest(form) }}
|
||||
|
@@ -42,7 +42,7 @@
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="personDateOfBirth">{{person.dateOfBirth.format(date_format)|default( 'Unknown date of birth'|trans )}}</span>
|
||||
<span class="personDateOfBirth">{% if person.dateOfBirth is not null %}{{person.dateOfBirth|localizeddate('long', 'none', app.request.locale) }}{% else %}{{ 'Unknown date of birth'|trans }}{% endif %}</span>
|
||||
</td>
|
||||
<td>
|
||||
{% if person.nationality is not null %}
|
||||
|
@@ -58,8 +58,13 @@ This view should receive those arguments:
|
||||
|
||||
<dl>
|
||||
<dt class="inline">{{ 'Date of birth'|trans }}</dt>
|
||||
<dd>{{ person.dateOfBirth.format(date_format)
|
||||
|default( 'Unknown date of birth'|trans ) }}</dd>
|
||||
<dd>
|
||||
{%- if person.dateOfBirth is not null -%}
|
||||
{{ person.dateOfBirth|localizeddate('long', 'none') }}
|
||||
{%- else -%}
|
||||
{{ 'Unknown date of birth'|trans }}
|
||||
{%- endif -%}
|
||||
</dd>
|
||||
|
||||
|
||||
<dt class="inline">{{ 'Place of birth'|trans }}</dt>
|
||||
|
Reference in New Issue
Block a user