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
Geremia Taglialatela
557b23fbef Add a relationship helper to PageProxy
With this new helper, we can use page.rel instead of a nested
ternary operator in order to determine the relationship between a page
and the current page.
2016-02-12 15:08:10 +01: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
cd50d41476 use PageProxy for current_page 2011-02-28 01:05:17 +09:00
Akira Matsuda
afc7dc1b44 refs #30 simplify rel attribute
* do not output rel="start" by default
* do not output rel on first_page and last_page
2011-02-27 19:20:40 +09:00
Garth Snyder
1c6f72802b Some suggested changes to classes and rels 2011-02-25 14:31:39 -08:00
Akira Matsuda
4beef97cea fixes #28 a page can be both current and first or last
merge _current_page, _first_page_link, _last_page_link and _page_link into one _page partial
2011-02-25 10:35:21 +09:00
Renamed from app/views/kaminari/_page_link.html.haml (Browse further)