mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 00:11:04 +00:00 
			
		
		
		
	Backport #28182 by @lng2020 Follow-up #22844 close #28142 Before  After  Co-authored-by: Nanguan Lin <70063547+lng2020@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								23838c2c2e
							
						
					
				
			
			
				commit
				
					
						28b8e0b43e
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -2,7 +2,7 @@
 | 
				
			||||||
<div role="main" aria-label="{{.Title}}" class="page-content repository diff {{if .PageIsComparePull}}compare pull{{end}}">
 | 
					<div role="main" aria-label="{{.Title}}" class="page-content repository diff {{if .PageIsComparePull}}compare pull{{end}}">
 | 
				
			||||||
	{{template "repo/header" .}}
 | 
						{{template "repo/header" .}}
 | 
				
			||||||
	{{$showDiffBox := false}}
 | 
						{{$showDiffBox := false}}
 | 
				
			||||||
	<div class="ui container">
 | 
						<div class="ui container fluid padded">
 | 
				
			||||||
	<h2 class="ui header">
 | 
						<h2 class="ui header">
 | 
				
			||||||
		{{if and $.PageIsComparePull $.IsSigned (not .Repository.IsArchived)}}
 | 
							{{if and $.PageIsComparePull $.IsSigned (not .Repository.IsArchived)}}
 | 
				
			||||||
			{{ctx.Locale.Tr "repo.pulls.compare_changes"}}
 | 
								{{ctx.Locale.Tr "repo.pulls.compare_changes"}}
 | 
				
			||||||
| 
						 | 
					@ -235,7 +235,7 @@
 | 
				
			||||||
	</div>
 | 
						</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	{{if $showDiffBox}}
 | 
						{{if $showDiffBox}}
 | 
				
			||||||
	<div class="ui container">
 | 
						<div class="ui container fluid padded">
 | 
				
			||||||
		{{template "repo/commits_table" .}}
 | 
							{{template "repo/commits_table" .}}
 | 
				
			||||||
		{{template "repo/diff/box" .}}
 | 
							{{template "repo/diff/box" .}}
 | 
				
			||||||
	</div>
 | 
						</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue