fixes button layout if :page_links => false. #5

Merged
merged 1 commit into from Mar 27, 2012

Conversation

Projects
None yet
2 participants
@jann
Contributor

jann commented Mar 27, 2012

Thanks a alot for the bootstrap-will_paginate gem. Its exactly what I was looking for.

When I tried it, the next/previous buttons were not shown correctly when passing the :page_links => false option.

will_paginate provides the option :page_links => false, which makes only the next and previous button is beein rendered (not the page numbers inbetween).

This commit fixes a broken layout if the option is set to false.

What do you think about it?

yrgoldteeth added a commit that referenced this pull request Mar 27, 2012

Merge pull request #5 from jann/layout_page_links
fixes button layout if :page_links => false.

@yrgoldteeth yrgoldteeth merged commit 13d1abf into yrgoldteeth:master Mar 27, 2012

@yrgoldteeth

This comment has been minimized.

Show comment
Hide comment
@yrgoldteeth

yrgoldteeth Mar 27, 2012

Owner

Awesome, thanks! I had not run into this particular use case, and I'm glad you caught it (and fixed it!)

Owner

yrgoldteeth commented Mar 27, 2012

Awesome, thanks! I had not run into this particular use case, and I'm glad you caught it (and fixed it!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment