mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 03:25:11 +01:00 
			
		
		
		
	
							parent
							
								
									cf045b029c
								
							
						
					
					
						commit
						fc3ed8a1de
					
				| @ -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") | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user