mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
person details page: one edit button at bottom of page, fix regression
This commit is contained in:
parent
ca43933163
commit
1bbce2bb81
@ -77,9 +77,7 @@ This view should receive those arguments:
|
||||
</dl>
|
||||
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
{{ include(edit_tmp_name, edit_tmp_args) }}
|
||||
{% endif %}
|
||||
|
||||
</figure>
|
||||
</div>
|
||||
|
||||
@ -117,9 +115,7 @@ This view should receive those arguments:
|
||||
{%- endif -%}
|
||||
</dl>
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
{{ include(edit_tmp_name, edit_tmp_args) }}
|
||||
{% endif %}
|
||||
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
@ -171,9 +167,7 @@ This view should receive those arguments:
|
||||
</dl>
|
||||
{%- endif -%}
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
{{ include(edit_tmp_name, edit_tmp_args) }}
|
||||
{% endif %}
|
||||
|
||||
</figure>
|
||||
</div>
|
||||
{%- endif -%}
|
||||
@ -240,16 +234,14 @@ This view should receive those arguments:
|
||||
</dl>
|
||||
{%- endif -%}
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
{{ include(edit_tmp_name, edit_tmp_args) }}
|
||||
{% endif %}
|
||||
|
||||
</figure>
|
||||
</div>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if cFGroup and (cFGroup.getActiveCustomFields|length > 0) %}
|
||||
{% if cFGroup and (cFGroup.getActiveCustomFields|length > 0) %}
|
||||
<div class="col-10">
|
||||
<div class="row">
|
||||
<div class="col-12 custom-fields">
|
||||
@ -261,13 +253,20 @@ This view should receive those arguments:
|
||||
</div>
|
||||
|
||||
<div class="col-10">
|
||||
<figure class="person-details">
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
{{ include(edit_tmp_name, edit_tmp_args) }}
|
||||
{% endif %}
|
||||
</figure>
|
||||
<figure class="person-details"></figure>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
<ul class="sticky-form-buttons record_actions ">
|
||||
<li>
|
||||
<a class="btn btn-update" href="{{ path('chill_person_general_edit', { 'person_id': person.id }) }}">
|
||||
{{ 'Edit'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div> <!-- end of div.person-view -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user