mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
work on #1548
This commit is contained in:
@@ -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