mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:35:03 +01:00 
			
		
		
		
	commit.RefUrl expects AppUrl argument
This is fixup for ea375c0dcca118c8ac3c48ba569b025836ad5ccf. The bug was not visible because commit.RefUrl was always returning empty url due regression described in https://github.com/gogits/git-module/pull/4
This commit is contained in:
		
							parent
							
								
									fc4a4d38d1
								
							
						
					
					
						commit
						41fdaabcf7
					
				| @ -31,7 +31,7 @@ | ||||
| 					<td> | ||||
| 						<span class="icon octicon octicon-file-submodule"></span> | ||||
| 						{{if $commit.RefUrl AppUrl}} | ||||
| 							<a href="{{$commit.RefUrl}}">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a> | ||||
| 							<a href="{{$commit.RefUrl AppUrl}}">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl AppUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a> | ||||
| 						{{else}} | ||||
| 							{{$entry.Name}} @ {{ShortSha $commit.RefId}} | ||||
| 						{{end}} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user