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

"New pull request" button shown when viewing tag/commit #3132

Closed
1 of 3 tasks
ethantkoenig opened this issue Dec 10, 2017 · 6 comments
Closed
1 of 3 tasks

"New pull request" button shown when viewing tag/commit #3132

ethantkoenig opened this issue Dec 10, 2017 · 6 comments
Labels
type/enhancement An improvement of existing functionality
Milestone

Comments

@ethantkoenig
Copy link
Member

Description

When viewing a tag or commit, the "new pull request" button is shown. If you click on the link, you will get a 404, since the head of a PR must be a branch.

I think that ideally the button should not be shown when viewing a tag/commit.

@lafriks lafriks added the type/enhancement An improvement of existing functionality label Dec 10, 2017
@lafriks lafriks added this to the 1.4.0 milestone Dec 10, 2017
@Albert221
Copy link
Contributor

I'd like to work on that.

@lafriks
Copy link
Member

lafriks commented Dec 10, 2017

@Albert221 I think there is already PR to fix this

@Albert221
Copy link
Contributor

@lafriks could you confirm? I don't see any opened PRs addressing that

@lafriks
Copy link
Member

lafriks commented Dec 10, 2017

@ethantkoenig wrote that in #3133 description that it fixes this issue but in code somehow I don't see this

@ethantkoenig
Copy link
Member Author

Oh, I forgot to push my latest changes to #3133. Yes, #3133 will fix this issue

@lafriks
Copy link
Member

lafriks commented Jan 14, 2018

Fixed by #3133

@lafriks lafriks closed this as completed Jan 14, 2018
@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
type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants