summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-28 19:15:25 +0800
committerUnknwon <u@gogs.io>2015-08-28 19:15:25 +0800
commita00194e665af4731cf353a7d1da9bba1d7a3530f (patch)
treedca5e021b4aea3b90d2c41fcd90730d0453491b1 /routers/repo/issue.go
parentf2de4d5c04fe5cd090fd448ec44658d8dd0ea5e4 (diff)
downloadgitea-a00194e665af4731cf353a7d1da9bba1d7a3530f.tar.gz
gitea-a00194e665af4731cf353a7d1da9bba1d7a3530f.zip
work on #1548
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r--routers/repo/issue.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index 6a0cc2de3a..5e76cd04c1 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -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)
}