1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Zachary Scott
d45f46a3b1 use html_safe instead of raw amatsuda/kaminari#73 2013-07-12 01:06:10 -04:00
Akira Matsuda
e79935c2d5 num_pages => total_pages 2012-05-25 15:31:53 +09:00
Akira Matsuda
d264e56229 fixes #96 make the Haml templates work with Haml 3.1 2011-04-28 00:36:14 +09:00
Akira Matsuda
2cc02d89fa refs #30 remove 'disabled' class 2011-04-16 21:46:52 +09:00
Akira Matsuda
cd50d41476 use PageProxy for current_page 2011-02-28 01:05:17 +09:00
Garth Snyder
1c6f72802b Some suggested changes to classes and rels 2011-02-25 14:31:39 -08:00
Akira Matsuda
393943a50e refs #30 add real first/last page links, and use them by default instead of outer window
* :window, :outer_window, :left, :right will be interpreted similarly to how they were, except the supplied N would be the number of pages you actually get. 0 means disable for the outer windows
* outer windows will be disabled by default in favor of first/last links
* include a "disabled" class when appropriate, and always include the label text (but no link tag when current page). Users that want these tags to disappear completely when inapplicable can style them to display: none. (Similarly for "first" and "last".)
* changed the default labels - double angle quotes for "first" and "last", single angle quotes for "previous" and "next". (Consider a standard set of video or audio transport controls: << < stop > >>)
2011-02-25 12:33:23 +09:00
Renamed from app/views/kaminari/_next_link.html.haml (Browse further)