Browse Source

Update configuration.rst

the sonata_admin.templates section wasn't full (it's now aligned with Templates documentation page)
Daniele Bartocci 12 years ago
parent
commit
6d59332b87
1 changed files with 16 additions and 1 deletions
  1. 16 1
      Resources/doc/reference/configuration.rst

+ 16 - 1
Resources/doc/reference/configuration.rst

@@ -31,10 +31,25 @@ Full Configuration Options
             ajax:    SonataAdminBundle::ajax_layout.html.twig
             dashboard: SonataAdminBundle:Core:dashboard.html.twig
 
-            # default actions templates, should extend a global templates
+            # default values of actions templates, they should extend global templates
             list:    SonataAdminBundle:CRUD:list.html.twig
             show:    SonataAdminBundle:CRUD:show.html.twig
             edit:    SonataAdminBundle:CRUD:edit.html.twig
+            history: SonataAdminBundle:CRUD:history.html.twig
+            preview: SonataAdminBundle:CRUD:preview.html.twig
+            delete:  SonataAdminBundle:CRUD:delete.html.twig
+            batch:   SonataAdminBundle:CRUD:list__batch.html.twig
+            batch_confirmation: SonataAdminBundle:CRUD:batch_confirmation.html.twig
+            
+            # list related templates
+            inner_list_row: SonataAdminBundle:CRUD:list_inner_row.html.twig
+            base_list_field: SonataAdminBundle:CRUD:base_list_field.html.twig
+            
+            # default values of helper templates
+            short_object_description: SonataAdminBundle:Helper:short-object-description.html.twig
+            
+            # default values of block templates, they should extend the base_block template
+            list_block: SonataAdminBundle:Block:block_admin_list.html.twig
 
         dashboard:
             blocks: