mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 10:50:21 +02:00
1 parent
cf045b029c
commit
fc3ed8a1de
1 file changed
+4
@@ -23,6 +23,10 @@ func SetEditorconfigIfExists(ctx *context.Context) {
|
||||
}
|
||||
|
||||
func SetDiffViewStyle(ctx *context.Context) {
|
||||
if !ctx.IsSigned {
|
||||
return
|
||||
}
|
||||
|
||||
var (
|
||||
userStyle = ctx.User.DiffViewStyle
|
||||
queryStyle = ctx.Query("style")
|
||||
|
||||
Reference in new issue
Block a user