mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	@@ -23,6 +23,10 @@ func SetEditorconfigIfExists(ctx *context.Context) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func SetDiffViewStyle(ctx *context.Context) {
 | 
					func SetDiffViewStyle(ctx *context.Context) {
 | 
				
			||||||
 | 
						if !ctx.IsSigned {
 | 
				
			||||||
 | 
							return
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	var (
 | 
						var (
 | 
				
			||||||
		userStyle  = ctx.User.DiffViewStyle
 | 
							userStyle  = ctx.User.DiffViewStyle
 | 
				
			||||||
		queryStyle = ctx.Query("style")
 | 
							queryStyle = ctx.Query("style")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user