index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routers
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2017-02-23 13:12:28 -0500
committer
Unknwon <u@gogs.io>
2017-02-23 13:12:28 -0500
commit
0c8c1ee96ffb5479cd42c3e458a5bd59244bbd88
(
patch
)
tree
c0a2e07ad3026bbc861048cafafeb6d9b181a710
/
routers
parent
7d80c5a7223d793a8ee73aa8ba7928e5b68176c0
(
diff
)
pull: fix split view on pull request page (#3695)
Diffstat
(limited to 'routers')
-rw-r--r--
routers/repo/pull.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index faf3b789..49f25260 100644
--- a/
routers/repo/pull.go
+++ b/
routers/repo/pull.go
@@ -626,6 +626,7 @@ func CompareAndPullRequest(ctx *context.Context) {
return
}
+ ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split"
ctx.HTML(200, COMPARE_PULL)
}