Skip to content

Commit

Permalink
EZP-28921: Configure content create view in AdminUI
Browse files Browse the repository at this point in the history
  • Loading branch information
webhdx committed Mar 9, 2018
1 parent 722434b commit 39a5cf1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/bundle/Resources/config/default_parameters.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
parameters:
ezsettings.admin_group.content_edit.templates.edit: 'EzPlatformAdminUiBundle:content/content_edit:content_edit.html.twig'
ezsettings.admin_group.content_edit.templates.create: 'EzPlatformAdminUiBundle:content/content_edit:content_create.html.twig'
ezsettings.admin_group.content_edit.templates.create_draft: 'EzPlatformAdminUiBundle:content/content_edit:content_create_draft.html.twig'
ezsettings.admin_group.user_edit.templates.update: 'EzPlatformAdminUiBundle:content/content_edit:user_edit.html.twig'
ezsettings.admin_group.user_edit.templates.create: 'EzPlatformAdminUiBundle:content/content_edit:user_create.html.twig'
Expand Down
8 changes: 7 additions & 1 deletion src/bundle/Resources/config/views.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ system:
controller: 'EzPlatformAdminUiBundle:ContentView:locationView'
template: '@EzPlatformAdminUi\fieldtypes\preview\ezobjectrelationlist_row.html.twig'
match: true

content_create_view:
full:
ezplatform_admin_ui:
template: '@EzPlatformAdminUi/content/content_edit/content_create.html.twig'
match: true
params:
viewbaseLayout: '@EzPlatformAdminUi/layout.html.twig'

0 comments on commit 39a5cf1

Please sign in to comment.