mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
#3408 minor code fix
This commit is contained in:
parent
eb1bfe0e59
commit
d625e41c6c
4 changed files with 23 additions and 23 deletions
|
@ -637,7 +637,7 @@ func ViewIssue(ctx *context.Context) {
|
|||
ctx.Data["NumParticipants"] = len(participants)
|
||||
ctx.Data["Issue"] = issue
|
||||
ctx.Data["IsIssueOwner"] = ctx.Repo.IsWriter() || (ctx.IsSigned && issue.IsPoster(ctx.User.ID))
|
||||
ctx.Data["SignInLink"] = setting.AppSubUrl + "/user/login"
|
||||
ctx.Data["SignInLink"] = setting.AppSubUrl + "/user/login?redirect_to=" + ctx.Data["Link"].(string)
|
||||
|
||||
ctx.Data["RequireHighlightJS"] = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue