Browse Source

Merge pull request #2001 from dbu/patch-2

Show number of affected elements when seleting all elements
Thomas 11 years ago
parent
commit
41410b632a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Resources/views/CRUD/base_list.html.twig

+ 1 - 0
Resources/views/CRUD/base_list.html.twig

@@ -101,6 +101,7 @@ file that was distributed with this source code.
                                                 <label class="checkbox" for="{{ admin.uniqid }}_all_elements">
                                                     <input type="checkbox" name="all_elements" id="{{ admin.uniqid }}_all_elements">
                                                     {{ 'all_elements'|trans({}, 'SonataAdminBundle') }}
+                                                     ({{ admin.datagrid.pager.nbresults }})
                                                 </label>
 
                                                 <select name="action" style="width: auto; height: auto">