location: change display in twig

This commit is contained in:
nobohan 2021-11-24 14:07:02 +01:00
parent c7f2717676
commit d27f085ac9
2 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@
<dd> <dd>
{% if entity.location is not null %} {% if entity.location is not null %}
<p> <p>
<span>{{ entity.location.locationType.title|localize_translatable_string }}</span>
{{ entity.location.name }} {{ entity.location.name }}
<span> ({{ entity.location.locationType.title|localize_translatable_string }})</span>
</p> </p>
{{ entity.location.address|chill_entity_render_box }} {{ entity.location.address|chill_entity_render_box }}
{% else %} {% else %}

View File

@ -41,8 +41,8 @@
<dd> <dd>
{% if entity.location is not null %} {% if entity.location is not null %}
<p> <p>
<span>{{ entity.location.locationType.title|localize_translatable_string }}</span>
{{ entity.location.name }} {{ entity.location.name }}
<span> ({{ entity.location.locationType.title|localize_translatable_string }})</span>
</p> </p>
{{ entity.location.address|chill_entity_render_box }} {{ entity.location.address|chill_entity_render_box }}
{% else %} {% else %}