mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
Address: remove forceRedirect option: backUrl option not null is considerated as forceRedirect true
This commit is contained in:
@@ -29,9 +29,11 @@
|
||||
{# include vue_address component #}
|
||||
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
|
||||
targetEntity: { name: 'person', id: person.id },
|
||||
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
|
||||
openPanesInModal: false,
|
||||
} %}
|
||||
{#
|
||||
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
|
||||
#}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
@@ -29,10 +29,10 @@
|
||||
{# include vue_address component #}
|
||||
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
|
||||
targetEntity: { name: 'person', id: person.id },
|
||||
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
|
||||
stickyActions: true,
|
||||
} %}
|
||||
{#
|
||||
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
|
||||
openPanesInModal: false,
|
||||
useValidFrom: true,
|
||||
#}
|
||||
|
@@ -9,12 +9,10 @@
|
||||
{# include vue_address component #}
|
||||
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
|
||||
targetEntity: { name: 'household', id: household.id },
|
||||
stickyActions: true
|
||||
} %}
|
||||
{#
|
||||
backUrl: path('chill_person_household_addresses', { 'household_id': household.id }),
|
||||
stickyActions: true,
|
||||
openPanesInModal: false,
|
||||
#}
|
||||
} %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -10,12 +10,9 @@
|
||||
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
|
||||
targetEntity: { name: 'household', id: household.id },
|
||||
backUrl: path('chill_person_household_addresses', { 'household_id': household.id }),
|
||||
forceRedirect: true,
|
||||
openPanesInModal: false,
|
||||
stickyActions: true,
|
||||
} %}
|
||||
{#
|
||||
openPanesInModal: false,
|
||||
#}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -18,14 +18,13 @@
|
||||
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
|
||||
targetEntity: { name: 'household', id: household.id },
|
||||
backUrl: path('chill_person_household_addresses', { 'household_id': household.id }),
|
||||
forceRedirect: true,
|
||||
mode: 'new',
|
||||
useValidFrom: true,
|
||||
buttonSize: 'btn-lg',
|
||||
buttonText: 'Move household',
|
||||
modalTitle: 'Move household',
|
||||
} %}
|
||||
{#
|
||||
useValidFrom: true,
|
||||
#}
|
||||
|
||||
</li>
|
||||
@@ -68,8 +67,6 @@
|
||||
}) }}
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
|
||||
{# include vue_address component #}
|
||||
<a href="{{ path('chill_person_household_address_edit', { 'household_id': household.id, 'address_id' : address.id } ) }}"
|
||||
class="btn btn-edit"></a>
|
||||
|
||||
|
@@ -32,7 +32,6 @@
|
||||
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
|
||||
targetEntity: { name: 'household', id: household.id },
|
||||
backUrl: path('chill_person_household_summary', { 'household_id': household.id }),
|
||||
forceRedirect: true,
|
||||
hideAddress: true,
|
||||
mode: 'new',
|
||||
buttonSize: 'btn-sm',
|
||||
|
Reference in New Issue
Block a user