mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Show issue/PR number on title
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user