1
0
Fork 0
forgejo/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.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
editor_test.go
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.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
issue_dependency.go
issue_label.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
milestone.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
pull.go Fix #732: Add LFS objects to base repository on merging (#7082) 2019-06-22 18:35:34 +01:00
pull_review.go
release.go
release_test.go
repo.go
search.go
setting.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
setting_protected_branch.go
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.go
wiki_test.go