mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 00:11:04 +00:00 
			
		
		
		
	fix compare button on upstream repo leading to 404 (#5877)
This commit is contained in:
		
					parent
					
						
							
								c62c0b669a
							
						
					
				
			
			
				commit
				
					
						16678f5255
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -59,7 +59,7 @@
 | 
				
			||||||
		<div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins">
 | 
							<div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins">
 | 
				
			||||||
			{{if and .PullRequestCtx.Allowed .IsViewBranch}}
 | 
								{{if and .PullRequestCtx.Allowed .IsViewBranch}}
 | 
				
			||||||
				<div class="fitted item">
 | 
									<div class="fitted item">
 | 
				
			||||||
					<a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch | EscapePound}}...{{.Repository.Owner.Name}}:{{.BranchName | EscapePound}}">
 | 
										<a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch | EscapePound}}...{{ if .Repository.IsFork }}{{.Repository.Owner.Name}}{{ else }}{{ .SignedUserName }}{{ end }}:{{.BranchName | EscapePound}}">
 | 
				
			||||||
					<button class="ui green tiny compact button"><i class="octicon octicon-git-compare"></i></button>
 | 
										<button class="ui green tiny compact button"><i class="octicon octicon-git-compare"></i></button>
 | 
				
			||||||
					</a>
 | 
										</a>
 | 
				
			||||||
				</div>
 | 
									</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue