mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
[ThirdParty] Fix display of civility in page "view"
https://gitlab.com/Chill-Projet/chill-bundles/-/issues/164
This commit is contained in:
parent
5562f418a5
commit
74e25e706e
5
.changes/unreleased/Fixed-20230928-120910.yaml
Normal file
5
.changes/unreleased/Fixed-20230928-120910.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
kind: Fixed
|
||||||
|
body: 'View a third party: avoid errors when a contact has a civility'
|
||||||
|
time: 2023-09-28T12:09:10.199359071+02:00
|
||||||
|
custom:
|
||||||
|
Issue: "164"
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<dt>{{ 'Name'|trans }}</dt>
|
<dt>{{ 'Name'|trans }}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
{% if thirdParty.isLeaf == true %}{{ thirdParty.civility }}{% endif %}
|
{% if thirdParty.isLeaf == true and thirdParty.civility is not same as null %}{{ thirdParty.civility.name|localize_translatable_string }}{% endif %}
|
||||||
{{ thirdParty.firstname ~ ' ' ~ thirdParty.name }}
|
{{ thirdParty.firstname ~ ' ' ~ thirdParty.name }}
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user