work on #1548
This commit is contained in:
parent
f2de4d5c04
commit
a00194e665
3 changed files with 6 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue