<% if (!_.isMobile()) { %> <%= _.__('oro.datagrid.pagination.label') %>: <% } %> <% _.each(handles, function (handle) { %> <% var buttonClassNames = _.isDesktop() ? 'btn btn-icon btn-light pagination-trigger ' : 'btn btn-icon pagination-trigger '; buttonClassNames += handle.className ? handle.className : ''; %> <% }); %> <% if (!_.isMobile()) { %> <%- _.__('oro.datagrid.pagination.totalPages', {totalPages: state.totalPages || 1}) %> <%- _.__('oro.datagrid.pagination.totalRecords', {totalRecords: state.totalRecords}) %> <% } %>