show detail button in banners

This commit is contained in:
Mathieu Jaumotte 2023-07-12 17:02:59 +02:00
parent 36eed4323c
commit 2259a31260
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@
<span class=" d-block d-sm-inline-block"> <span class=" d-block d-sm-inline-block">
{{ address|chill_entity_render_box({ {{ address|chill_entity_render_box({
'render': 'inline', 'multiline': false, 'with_picto': true, 'with_delimiter': true, 'render': 'inline', 'multiline': false, 'with_picto': true, 'with_delimiter': true,
'details_button': false 'details_button': true
}) }} }) }}
</span> </span>
{% endif %} {% endif %}

View File

@ -56,12 +56,12 @@
{%- if address is not null -%} {%- if address is not null -%}
{{ address|chill_entity_render_box({ {{ address|chill_entity_render_box({
'render': 'inline', 'multiline': false, 'with_picto': true, 'with_delimiter': true, 'render': 'inline', 'multiline': false, 'with_picto': true, 'with_delimiter': true,
'details_button': false 'details_button': true
}) }} }) }}
{%- endif -%} {%- endif -%}
{% if person.getCurrentHousehold is not null %} {% if person.getCurrentHousehold is not null %}
<a href="{{ chill_path_add_return_path('chill_person_household_summary', { 'household_id' : person.getCurrentHousehold.id } ) }}" <a href="{{ chill_path_add_return_path('chill_person_household_summary', { 'household_id' : person.getCurrentHousehold.id } ) }}"
class="btn household-link" title="{{ 'Show household'|trans }}"> class="btn btn-sm household-link" title="{{ 'Show household'|trans }}">
<i class="fa fa-lg fa-home"></i> <i class="fa fa-lg fa-home"></i>
</a> </a>
{% endif %} {% endif %}