mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
missing comment fields on person details page
This commit is contained in:
parent
360322bdbf
commit
6dae4785e6
@ -107,7 +107,7 @@ This view should receive those arguments:
|
|||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if person.genderComment is not empty %}
|
{% if person.genderComment.comment is not empty %}
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<figure class="person-details">
|
<figure class="person-details">
|
||||||
<h2 class="chill-beige">{{ 'Gender comment'|trans }} :</h2>
|
<h2 class="chill-beige">{{ 'Gender comment'|trans }} :</h2>
|
||||||
@ -162,14 +162,16 @@ This view should receive those arguments:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
{% if person.maritalStatusComment is not empty %}
|
<dt>{{ 'Comment on the marital status'|trans }} :</dt>
|
||||||
<dt>{{ 'Comment on the marital status'|trans }} :</dt>
|
<dd>
|
||||||
<dd>
|
{% if person.maritalStatusComment.comment is not empty %}
|
||||||
<blockquote class="chill-user-quote">
|
<blockquote class="chill-user-quote">
|
||||||
{{ person.maritalStatusComment.comment|chill_markdown_to_html }}
|
{{ person.maritalStatusComment.comment|chill_markdown_to_html }}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</dd>
|
{% else %}
|
||||||
{% endif %}
|
<span class="chill-no-data-statement">{{ 'No data given'|trans }}</span>
|
||||||
|
{% endif %}
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</figure>
|
</figure>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user