summaryrefslogtreecommitdiff
path: root/app/views/users/_index_core.html.haml
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-05-17 09:35:24 +0200
committerPeter Kozak <spag@golwen.net>2013-05-17 09:35:24 +0200
commit45347d2094d79eaecb3df7d234b9bd7e436275c7 (patch)
tree8c8696bca22c2ea8a61f6a05fa55c6a286ba2d0b /app/views/users/_index_core.html.haml
parentca490d7215ffb6015573b690cd5b1a53d9b67e34 (diff)
parent6a1961283914a6b87400bf0b7b492fa9f8692c03 (diff)
Merge branch 'develop' of github.com:amooma/GS4 into develop
Diffstat (limited to 'app/views/users/_index_core.html.haml')
-rw-r--r--app/views/users/_index_core.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_index_core.html.haml b/app/views/users/_index_core.html.haml
index 78510a2..7038457 100644
--- a/app/views/users/_index_core.html.haml
+++ b/app/views/users/_index_core.html.haml
@@ -1,4 +1,4 @@
-- cache(['user_table_row_inner_td', I18n.locale, current_user, users.reorder(:updated_at).last, users.count, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do
+- cache(['user_table_row_inner_td', I18n.locale, current_user, users.reorder(:updated_at).last, users.first, users.last, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do
- 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>')