diff --git a/src/Resources/config/grids/admin/collection.yml b/src/Resources/config/grids/admin/collection.yml index 7a1411a6..f7ed286b 100755 --- a/src/Resources/config/grids/admin/collection.yml +++ b/src/Resources/config/grids/admin/collection.yml @@ -9,6 +9,10 @@ sylius_grid: code: asc limits: [10, 25, 50] fields: + name: + type: string + label: bitbag_sylius_cms_plugin.ui.name + sortable: translation.name code: type: string label: bitbag_sylius_cms_plugin.ui.code @@ -17,10 +21,6 @@ sylius_grid: type: string label: bitbag_sylius_cms_plugin.ui.type sortable: ~ - name: - type: string - label: bitbag_sylius_cms_plugin.ui.name - sortable: translation.name filters: search: type: string diff --git a/src/Resources/config/grids/admin/media.yml b/src/Resources/config/grids/admin/media.yml index e5608163..0ed7a089 100644 --- a/src/Resources/config/grids/admin/media.yml +++ b/src/Resources/config/grids/admin/media.yml @@ -25,12 +25,20 @@ sylius_grid: type: string label: bitbag_sylius_cms_plugin.ui.code sortable: ~ + enabled: + type: twig + label: sylius.ui.enabled + options: + template: "@SyliusUi/Grid/Field/enabled.html.twig" + collections: + type: twig + label: bitbag_sylius_cms_plugin.ui.collections + path: . + options: + template: "@BitBagSyliusCmsPlugin/Grid/Field/collections.html.twig" path: type: string label: bitbag_sylius_cms_plugin.ui.path - type: - type: string - label: bitbag_sylius_cms_plugin.ui.type filters: search: type: string