From 5525a9af9229f0ac65d44472519aac4ab8751018 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Thu, 2 May 2013 10:50:53 +0200 Subject: pagination --- app/views/users/_index_core.html.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app/views/users') diff --git a/app/views/users/_index_core.html.haml b/app/views/users/_index_core.html.haml index d741282..78510a2 100644 --- a/app/views/users/_index_core.html.haml +++ b/app/views/users/_index_core.html.haml @@ -1,7 +1,8 @@ - cache(['user_table_row_inner_td', I18n.locale, current_user, users.reorder(:updated_at).last, users.count, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do - .pagination - - if defined?(users.total_pages) - = will_paginate users, :renderer => BootstrapPagination::Rails + + - if defined?(users.total_pages) + = will_paginate users, :renderer => BootstrapPagination::Rails, :previous_label => raw(''), :next_label => raw('') + %table.table.table-striped %thead %tr -- cgit v1.2.3