diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 6a0cc2de3..5e76cd04c 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) } diff --git a/templates/repo/issue/comment_tab.tmpl b/templates/repo/issue/comment_tab.tmpl index d6f71e649..80854440a 100644 --- a/templates/repo/issue/comment_tab.tmpl +++ b/templates/repo/issue/comment_tab.tmpl @@ -1,7 +1,7 @@