forked from forgejo/forgejo
Show issue/PR number on title
This commit is contained in:
parent
137dcbf93d
commit
87b593f93e
2 changed files with 3 additions and 2 deletions
|
@ -502,7 +502,7 @@ func ViewIssue(ctx *context.Context) {
|
|||
}
|
||||
return
|
||||
}
|
||||
ctx.Data["Title"] = issue.Title
|
||||
ctx.Data["Title"] = fmt.Sprintf("#%d - %s", issue.Index, issue.Title)
|
||||
|
||||
// Make sure type and URL matches.
|
||||
if ctx.Params(":type") == "issues" && issue.IsPull {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue