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

Remove href on first/last link when on first/last page #1345

Merged
merged 1 commit into from
Mar 22, 2017
Merged

Remove href on first/last link when on first/last page #1345

merged 1 commit into from
Mar 22, 2017

Conversation

aloupfor
Copy link
Contributor

@aloupfor aloupfor commented Mar 20, 2017

When you are on the first page of explore, the "First" link in pagination appears as disabled but it still has a href and so is clickable. Same thing for the "Last" link on the last page.
This PR aims to only have the href when the links are "enabled".

Signed-off-by: Arthur Loupforest <arthur.loupforest@outlook.fr>
@lunny lunny added this to the 1.2.0 milestone Mar 21, 2017
@lunny lunny added the type/bug label Mar 21, 2017
@appleboy
Copy link
Member

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 21, 2017
@lunny
Copy link
Member

lunny commented Mar 21, 2017

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 21, 2017
@strk
Copy link
Member

strk commented Mar 22, 2017

Why no merge @lunny ?

@appleboy
Copy link
Member

@tboerger Can you help to merge this PR?

@appleboy
Copy link
Member

@strk Only three people have permission to merge PR. https://github.com/orgs/go-gitea/teams/owners

@strk
Copy link
Member

strk commented Mar 22, 2017

@appleboy: @lunny is among them

@lunny lunny merged commit 1b1b854 into go-gitea:master Mar 22, 2017
@aloupfor aloupfor deleted the remove-href-on-first-last-link-when-on-first-last-page branch April 26, 2017 18:21
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants