mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
layout improvement in UI
This commit is contained in:
@@ -84,7 +84,7 @@ This view should receive those arguments:
|
||||
{%- if person.birthdate is not null -%}
|
||||
{{ person.birthdate|localizeddate('long', 'none') }}
|
||||
{%- else -%}
|
||||
{{ 'Unknown date of birth'|trans }}
|
||||
<span class="chill-no-data-statement">{{ 'Unknown date of birth'|trans }}</span>
|
||||
{%- endif -%}
|
||||
</dd>
|
||||
|
||||
@@ -98,7 +98,7 @@ This view should receive those arguments:
|
||||
{% if person.countryOfBirth is not null %}
|
||||
{{ person.countryOfBirth.name|localize_translatable_string }}
|
||||
{% else %}
|
||||
{{ 'Unknown country of birth'|trans }}
|
||||
<span class="chill-no-data-statement">{{ 'Unknown country of birth'|trans }}</span>
|
||||
{% endif %}
|
||||
{% endspaceless %}</dd>
|
||||
{%- endif -%}
|
||||
@@ -124,7 +124,7 @@ This view should receive those arguments:
|
||||
{% if person.nationality is not null %}
|
||||
{{ person.nationality.name|localize_translatable_string }}
|
||||
{% else %}
|
||||
{{ 'Without nationality'|trans }}
|
||||
<span class="chill-no-data-statement">{{ 'Without nationality'|trans }}</span>
|
||||
{% endif %}
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -134,7 +134,7 @@ This view should receive those arguments:
|
||||
<dt>{{'Spoken languages'|trans}} :</dt>
|
||||
<dd>
|
||||
{% if person.spokenLanguages|length == 0 %}
|
||||
{{ 'Unknown spoken languages'|trans }}
|
||||
<span class="chill-no-data-statement">{{ 'Unknown spoken languages'|trans }}</span>
|
||||
{% else %}
|
||||
{% for lang in person.spokenLanguages %}
|
||||
{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}
|
||||
@@ -150,7 +150,7 @@ This view should receive those arguments:
|
||||
{% if person.maritalStatus is not null %}
|
||||
{{ person.maritalStatus.name|localize_translatable_string }}
|
||||
{% else %}
|
||||
{{ 'no data given'|trans }}
|
||||
<span class="chill-no-data-statement">{{ 'No data given'|trans }}</span>
|
||||
{% endif %}
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -192,13 +192,13 @@ This view should receive those arguments:
|
||||
{%- if chill_person.fields.email == 'visible' -%}
|
||||
<dl>
|
||||
<dt>{{ 'Email'|trans }} :</dt>
|
||||
<dd><pre>{{ person.email}} </pre></dd>
|
||||
<dd>{% if person.email is not empty %}<pre>{{ person.email}}</pre>{% else %}<span class="chill-no-data-statement">{{ 'No data given'|trans }}</span>{% endif %}</dd>
|
||||
</dl>
|
||||
{%- endif -%}
|
||||
{%- if chill_person.fields.phonenumber == 'visible' -%}
|
||||
<dl>
|
||||
<dt>{{ 'Phonenumber'|trans }} :</dt>
|
||||
<dd><pre>{{ person.phonenumber}} </pre></dd>
|
||||
<dd>{% if person.phonenumber is not empty %}<pre>{{ person.phonenumber}}</pre>{% else %}<span class="chill-no-data-statement">{{ 'No data given'|trans }}{% endif %}</dd>
|
||||
</dl>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user