aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/issue.go
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-10-12 10:28:51 -0300
committerAndrey Nering <andrey.nering@gmail.com>2016-11-03 20:28:05 -0200
commit87b593f93eb3da096aabb49e19f85030fb1204c7 (patch)
treea25ac40a759303a84ea6061aca1eb009b2b16085 /routers/repo/issue.go
parent137dcbf93d0c8c6c2c7bd10ea544481a3e95e676 (diff)
downloadgitea-87b593f93eb3da096aabb49e19f85030fb1204c7.tar.gz
gitea-87b593f93eb3da096aabb49e19f85030fb1204c7.zip
Show issue/PR number on title
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r--routers/repo/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index 76d81d0e76..f638b6f51f 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -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 {