Minor - fix template

pull/2715/head
Julio Montoya 6 years ago
parent dcecac37b4
commit e7999d4801
  1. 4
      config/packages/sonata_admin.yaml

@ -11,7 +11,7 @@ sonata_admin:
# default global templates
# the layout template include javascript/stylesheet to the formatter bundle,
# if you don't need it use the default one: SonataAdminBundle::standard_layout.html.
layout: ChamiloAdminBundle::layout.html.twig
layout: '@ChamiloAdmin/layout.html.twig'
ajax: SonataAdminBundle::ajax_layout.html.twig
# default value if done set, actions templates, should extends a global templates
list: SonataAdminBundle:CRUD:list.html.twig
@ -32,7 +32,7 @@ sonata_admin:
dashboard:
blocks:
- {position: left, type: sonata.admin.block.admin_list}
- {position: right, type: sonata.timeline.block.timeline, settings: {context: SONATA_ADMIN, max_per_page: 25, template: 'ChamiloTimelineBundle:Block:timeline.html.twig'}}
# - {position: right, type: sonata.timeline.block.timeline, settings: {context: SONATA_ADMIN, max_per_page: 25, template: 'ChamiloTimelineBundle:Block:timeline.html.twig'}}
# - {position: right, type: sonata.admin_doctrine_orm.block.audit}
# - { position: center, type: sonata.block.service.text, settings: { content: "<h2>Welcome!</h2> You can customize this dashboard by editing the sonata_admin.yml file. The current dashboard presents the recent items from the NewsBundle and a timeline with the latest action"} }
#- { position: center, type: sonata.news.block.recent_posts, settings: { title: Recent Posts, number: 7, mode: admin }}

Loading…
Cancel
Save