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

Default paginator indicators shouldn't have an 'active' class #113

Closed
wants to merge 4 commits into from
Closed

Default paginator indicators shouldn't have an 'active' class #113

wants to merge 4 commits into from

Conversation

driesvints
Copy link
Member

As said in the commit and title, default paginator indicators shouldn't have an 'active' class. The 'active' class was meant to indicate the current active page, not a clickable link to a page.

Also because of this, the 'active' class should never be used on 'previous' or 'next' links. 'Previous' or 'next' links are only meant to move towards the previous or next page in the sequence. They shouldn't indicate an 'active' page stage because they aren't page indicators.

See the Twitter Bootstrap docs under Pagination > Options > Disabled and active states for more info.

Fixes #100.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Default paginator indicators shouldn't have an 'active' class. The 'active' class was meant to indicate the current active page, not a clickable link to a page.

Also because of this, the 'active' class should never be used on 'previous' or 'next' links. 'Previous' or 'next' links are only meant to move towards the previous or next page in the sequence. They shouldn't indicate an 'active' page stage because they aren't page indicators.

See the Twitter Bootstrap docs under Pagination > Options > Disabled and active states for more info.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Update unit tests for the previous commit.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
@JoostK
Copy link
Contributor

JoostK commented Jan 21, 2013

This is a good PR but the Unit Tests are still failing in Travis, maybe you should have another look at them.

@driesvints
Copy link
Member Author

Yep, fixing atm :)

Forgot some classes on previous commit.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
@taylorotwell
Copy link
Member

This has been fixed.

joelharkes pushed a commit to joelharkes/framework_old that referenced this pull request Mar 7, 2019
…ument-endpoint

Delete and show subscription document endpoint
dbpolito pushed a commit to dbpolito/framework that referenced this pull request Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants