Pull DetailView: Show more pull informations (#271)

Pull Detailview: add head/base-branch, reviews, mergable info

print info if reviews can not be loaded

No Conflicts

Reviewed-on: https://gitea.com/gitea/tea/pulls/271
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
This commit is contained in:
6543
2020-12-08 12:06:05 +08:00
parent d0e05e8be2
commit 2b11f408fd
4 changed files with 52 additions and 9 deletions

View File

@ -13,7 +13,7 @@ import (
// IssueDetails print an issue rendered to stdout
func IssueDetails(issue *gitea.Issue) {
OutputMarkdown(fmt.Sprintf(
"# #%d %s (%s)\n%s created %s\n\n%s\n",
"# #%d %s (%s)\n@%s created %s\n\n%s\n",
issue.Index,
issue.Title,
issue.State,