work on #1961
This commit is contained in:
parent
c9b65f0fdc
commit
134d8e7681
10 changed files with 47 additions and 24 deletions
|
@ -59,6 +59,7 @@ func Issues(ctx *middleware.Context) {
|
|||
if isPullList {
|
||||
ctx.Data["Title"] = ctx.Tr("repo.pulls")
|
||||
ctx.Data["PageIsPullList"] = true
|
||||
ctx.Data["HasForkedRepo"] = ctx.IsSigned && ctx.User.HasForkedRepo(ctx.Repo.Repository.ID)
|
||||
} else {
|
||||
ctx.Data["Title"] = ctx.Tr("repo.issues")
|
||||
ctx.Data["PageIsIssueList"] = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue