mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Add functionality to "Cancel" button Add scale effects to add button Hide "Cancel" button for existing comments Signed-off-by: Jonas Franz <info@jonasfranz.software>
		
			
				
	
	
		
			8 lines
		
	
	
		
			309 B
		
	
	
	
		
			Cheetah
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			309 B
		
	
	
	
		
			Cheetah
		
	
	
	
	
	
{{if $.comment}}
 | 
						|
	{{ template "repo/diff/comment_form" dict "root" $.root "Line" $.comment.UnsignedLine "File" $.comment.TreePath "Side" $.comment.DiffSide "HasComments" true}}
 | 
						|
{{else if $.root}}
 | 
						|
	{{ template "repo/diff/comment_form" $}}
 | 
						|
{{else}}
 | 
						|
	{{ template "repo/diff/comment_form" dict "root" $}}
 | 
						|
{{end}}
 |