Skip to content

Commit

Permalink
[Template][Events] Changed names of events
Browse files Browse the repository at this point in the history
[Template][Events] Changed names of events

[Template][Events] Changed names of events

[Template][Events] Changed names of events

order changed

fix BC

fix render rest
  • Loading branch information
ernestWarwas committed Jun 23, 2022
1 parent 26180fc commit 76208b4
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
22 changes: 11 additions & 11 deletions src/Sylius/Bundle/AdminBundle/Resources/config/app/events.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,28 +236,28 @@ sylius_ui:
context:
event: sylius.admin.layout.topbar_right

sylius.admin.grid.filters:
blocks:
content:
template: "@SyliusUi/Grid/Filter/_content.html.twig"
priority: 10

sylius.admin.grid.content:
sylius.grid:
blocks:
content:
template: "@SyliusUi/Grid/_content.html.twig"
priority: 10

sylius.admin.grid.body:
sylius.grid.body:
blocks:
navigation:
template: "@SyliusUi/Grid/_navigation.html.twig"
template: "@SyliusUi/Grid/Body/_navigation.html.twig"
priority: 30
table:
template: "@SyliusUi/Grid/_table.html.twig"
template: "@SyliusUi/Grid/Body/_table.html.twig"
priority: 20
pagination:
template: "@SyliusUi/Grid/_pagination.html.twig"
template: "@SyliusUi/Grid/Body/_pagination.html.twig"
priority: 10

sylius.grid.filters:
blocks:
content:
template: "@SyliusUi/Grid/Filter/_content.html.twig"
priority: 10

sylius.admin.order.update.form:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{% set path = path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) %}
{% set criteria = app.request.query.get('criteria') %}

{{ sylius_template_event('sylius.admin.grid.filters', _context) }}
{{ sylius_template_event('sylius.grid.filters', _context) }}

<div class="ui hidden divider"></div>
<div class="sylius-grid-wrapper">
{{ sylius_template_event('sylius.admin.grid.body', _context) }}
{{ sylius_template_event('sylius.grid.body', _context) }}
</div>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{ sylius_template_event('sylius.admin.grid.content', _context) }}
{{ sylius_template_event('sylius.grid', _context) }}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<div class="ui left aligned very padded segment">
{{ sylius_template_event('sylius.admin.login.form.content', _context) }}
</div>
{{ form_end(form) }}

{{ sylius_template_event('sylius.admin.login.form', _context) }}
{{ form_end(form, {'render_rest': false}) }}
</div>
</div>

0 comments on commit 76208b4

Please sign in to comment.