mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
improve layout of view page (address)
This commit is contained in:
@@ -173,12 +173,19 @@ This view should receive those arguments:
|
||||
<dd>
|
||||
{%- if person.lastAddress is not empty -%}
|
||||
{{ address._render(person.lastAddress) }}
|
||||
<a href="{{ path('chill_person_address_edit', { 'person_id': person.id, 'address_id' : person.lastAddress.id } ) }}">
|
||||
{{ 'Edit'|trans }}
|
||||
</a><br/>
|
||||
<a href="{{ path('chill_person_address_list', { 'person_id': person.id } ) }}">
|
||||
{{ 'Addresses\'history'|trans }}
|
||||
</a>
|
||||
|
||||
<ul class="record_actions record_actions_small">
|
||||
<li>
|
||||
<a href="{{ path('chill_person_address_edit', { 'person_id': person.id, 'address_id' : person.lastAddress.id } ) }}" class="sc-button has-hidden button-small bt-edit">
|
||||
<span class="show-on-hover">{{ 'Edit'|trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('chill_person_address_list', { 'person_id': person.id } ) }}" class="sc-button has-hidden button-small">
|
||||
<i class="fa fa-list" aria-hidden="true"></i><span class="show-on-hover">{{ "Addresses'history"|trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{%- else -%}
|
||||
<span class="chill-no-data-statement">{{ 'No address given'|trans }}</span>
|
||||
<a href="{{ path('chill_person_address_new', { 'person_id' : person.id } ) }}" class="">
|
||||
|
Reference in New Issue
Block a user