This commit is contained in:
Unknwon committed 2015-08-28 19:15:25 +08:00
1 parent f2de4d5c04
commit a00194e665
3 files changed
+6 -5

No files matched your search

+1
View File
@@ -521,6 +521,7 @@ func ViewIssue(ctx *middleware.Context) {
ctx.Data["Issue"] = issue
ctx.Data["IsIssueOwner"] = ctx.Repo.IsAdmin() || (ctx.IsSigned && issue.IsPoster(ctx.User.Id))
ctx.Data["SignInLink"] = setting.AppSubUrl + "/user/login"
ctx.HTML(200, ISSUE_VIEW)
}