|
@@ -139,7 +139,7 @@ file that was distributed with this source code.
|
|
|
<td colspan="{{ admin.list.elements|length }}">
|
|
|
<div class="pagination pagination-centered">
|
|
|
<ul>
|
|
|
- {% if admin.datagrid.pager.page != 1 %}
|
|
|
+ {% if admin.datagrid.pager.page > 2 %}
|
|
|
<li><a href="{{ admin.generateUrl('list', admin.modelmanager.paginationparameters(admin.datagrid, 1)) }}" title="{{ 'link_first_pager'|trans({}, 'SonataAdminBundle') }}">«</a></li>
|
|
|
{% endif %}
|
|
|
|