diff options
author | Unknwon <u@gogs.io> | 2015-08-28 19:15:25 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-28 19:15:25 +0800 |
commit | a00194e665af4731cf353a7d1da9bba1d7a3530f (patch) | |
tree | dca5e021b4aea3b90d2c41fcd90730d0453491b1 /routers/repo/issue.go | |
parent | f2de4d5c04fe5cd090fd448ec44658d8dd0ea5e4 (diff) | |
download | gitea-a00194e665af4731cf353a7d1da9bba1d7a3530f.tar.gz gitea-a00194e665af4731cf353a7d1da9bba1d7a3530f.zip |
work on #1548
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r-- | routers/repo/issue.go | 1 |
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) } |