mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Remember diff view style (#163)
This commit is contained in:
committed by
Lunny Xiao
parent
bd76e156bb
commit
739f07c98e
@@ -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
|
||||
|
Reference in New Issue
Block a user