mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
[ci skip]
This commit is contained in:
parent
51c480ab2f
commit
2aa21b7652
@ -34,7 +34,7 @@
|
||||
</a>
|
||||
</td>
|
||||
<td>{{ person.dateOfBirth|date(date_format) }}</td>
|
||||
<td>{{ person.nationality|default('person.without_nationality'|trans) }}
|
||||
<td>{% if person.nationality is not null %}{{ person.nationality.name|localize_translatable_string }}{% else %}{{ 'views.Person.view.without_nationality'|trans }}{% endif %}
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
|
@ -54,7 +54,7 @@ This view should receive those arguments:
|
||||
<dd>{% spaceless %}
|
||||
|
||||
{% if person.countryOfBirth is not null %}
|
||||
{{ person.countryOfBirth.label }}
|
||||
{{ person.countryOfBirth.name|localize_translatable_string }}
|
||||
{% else %}
|
||||
{{ 'views.Person.view.country_of_birth_unknow'|trans }}
|
||||
{% endif %}
|
||||
@ -74,7 +74,7 @@ This view should receive those arguments:
|
||||
<dt class="inline">{{ 'views.Person.view.nationality'|trans }}</dt>
|
||||
<dd>
|
||||
{% if person.nationality is not null %}
|
||||
{{ person.nationality.label }}
|
||||
{{ person.nationality.name|localize_translatable_string }}
|
||||
{% else %}
|
||||
{{ 'views.Person.view.without_nationality'|trans }}
|
||||
{% endif %}
|
||||
|
@ -35,7 +35,7 @@
|
||||
{% endspaceless %}</p>
|
||||
|
||||
{% if person.nationality is not null %}
|
||||
<p><i class="fa fa-flag"></i> {{ person.nationality.label }}</p>
|
||||
<p><i class="fa fa-flag"></i> {{ person.nationality.name|localize_translatable_string }}</p>
|
||||
{% else %}
|
||||
<p class="without_nationality"><i class="fa fa-flag"></i> {% trans %}views.layout.without_nationality{% endtrans %}</p>
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user