forked from forgejo/forgejo
Remember diff view style (#163)
This commit is contained in:
parent
bd76e156bb
commit
739f07c98e
7 changed files with 47 additions and 7 deletions
|
@ -367,7 +367,6 @@ func ViewPullFiles(ctx *context.Context) {
|
|||
}
|
||||
|
||||
headTarget := path.Join(pull.HeadUserName, pull.HeadRepo.Name)
|
||||
ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split"
|
||||
ctx.Data["Username"] = pull.HeadUserName
|
||||
ctx.Data["Reponame"] = pull.HeadRepo.Name
|
||||
ctx.Data["IsImageFile"] = commit.IsImageFile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue