diff options
author | Peter Kozak <spag@golwen.net> | 2013-05-02 10:50:53 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-05-02 10:50:53 +0200 |
commit | 5525a9af9229f0ac65d44472519aac4ab8751018 (patch) | |
tree | b3e7e2937524efed408c61800a4061785ed8506b | |
parent | 20570c967e0d63fd6d1644cd64e4c0c7859bc57f (diff) |
pagination
-rw-r--r-- | app/views/users/_index_core.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
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('<i class = "icon-chevron-left"></i>'), :next_label => raw('<i class = "icon-chevron-right"></i>') + %table.table.table-striped %thead %tr |