0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 03:22:26 +01:00
gitea/routers/repo
Mario Lubenka 7c0f2b9843 Show Pull Request button or status of latest PR in branch list (#6990)
* Show Pull Request button or status of latest PR in branch list

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Do not show pull request button on deleted branches

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Do not show commit divergence on deleted branches

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use XORMs Get instead of limit

* Links pull request ID and use smaller labels for displaying the pull request status

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Handle error when getting latest pull request

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Indent template

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Check error when loading issue

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
2019-06-27 22:15:30 +08:00
..
activity.go
attachment.go
blame.go Monitor all git commands; move blame to git package and replace git as a variable (#6864) 2019-06-26 14:15:26 -04:00
branch.go Show Pull Request button or status of latest PR in branch list (#6990) 2019-06-27 22:15:30 +08:00
commit.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
compare.go
download.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
editor_test.go
editor.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
http.go Monitor all git commands; move blame to git package and replace git as a variable (#6864) 2019-06-26 14:15:26 -04:00
issue_dependency.go
issue_label_test.go
issue_label.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
issue.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
main_test.go
middlewares.go
milestone.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
pull_review.go
pull.go Fix #732: Add LFS objects to base repository on merging (#7082) 2019-06-22 18:35:34 +01:00
release_test.go
release.go
repo.go
search.go
setting_protected_branch.go
setting.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
settings_test.go
topic.go
view.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
webhook.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
wiki_test.go
wiki.go