Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text list pagination #80

Open
bioshrimp opened this issue Oct 29, 2012 · 5 comments
Open

Text list pagination #80

bioshrimp opened this issue Oct 29, 2012 · 5 comments
Assignees
Labels

Comments

@bioshrimp
Copy link
Member

Let´s have pagination (20 items per page)

@ghost ghost assigned tyranja Oct 30, 2012
@tyranja
Copy link
Member

tyranja commented Oct 30, 2012

railscast is such a great source for this!

http://railscasts.com/episodes/254-pagination-with-kaminari

hej sven, was that you mentioned in the en.yml file in the railscast video??

@svenfuchs
Copy link
Member

i haven't watched that railscast, but if that's about rails and i18n then probably yes, i guess :)

@tyranja
Copy link
Member

tyranja commented Nov 1, 2012

cool. it was really surprising to see your name there.

@carlad
Copy link
Member

carlad commented Nov 12, 2012

was this implemented?

@bioshrimp
Copy link
Member Author

yes. after 10 items per page it shows the pagination. :)

the only thing is that the previous and next button are present all of the time, also if there is no previous or next page.
If there are only 2 pages and you hit the next button anyway, you will end up on an empty list page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants