mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 09:53:10 +02:00
work on #1548
This commit is contained in:
1 parent
f2de4d5c04
commit
a00194e665
3 files changed
+6
-5
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user