0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -05:00
forgejo/routers
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
..
admin Shadow the password on cache and session config on admin panel (#7300) 2019-06-27 00:12:38 +08:00
api/v1 Fix #732: Add LFS objects to base repository on merging (#7082) 2019-06-22 18:35:34 +01:00
dev
org Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Add golangci (#6418) 2019-06-12 15:41:28 -04:00
repo Show Pull Request button or status of latest PR in branch list (#6990) 2019-06-27 22:15:30 +08:00
routes Add golangci (#6418) 2019-06-12 15:41:28 -04:00
user fix drone build bug (#7192) 2019-06-13 00:23:45 -04:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
init.go Only check and config git on web subcommand but not others (#7236) 2019-06-19 19:53:37 +03:00
install.go Install page - Handle invalid administrator username better (#7060) 2019-05-28 07:18:40 +01:00
metrics.go Fix metrics auth token detection (#6006) 2019-02-09 00:58:31 -05:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00