Files
Gitea/models/pull.go
T
Mario LubenkaandLunny Xiao 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 <[email protected]>

* Do not show pull request button on deleted branches

Signed-off-by: Mario Lubenka <[email protected]>

* Do not show commit divergence on deleted branches

Signed-off-by: Mario Lubenka <[email protected]>

* 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 <[email protected]>

* Handle error when getting latest pull request

Signed-off-by: Mario Lubenka <[email protected]>

* Indent template

Signed-off-by: Mario Lubenka <[email protected]>

* Check error when loading issue

Signed-off-by: Mario Lubenka <[email protected]>
2019-06-27 22:15:30 +08:00

36 KiB