* reverse & comment * Update templates/repo/graph/commits.tmpl Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
		
							parent
							
								
									3088866531
								
							
						
					
					
						commit
						6a3ad0b24e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -34,7 +34,8 @@ | ||||||
| 							{{$refGroup := .RefGroup}} | 							{{$refGroup := .RefGroup}} | ||||||
| 							{{if eq $refGroup "pull"}} | 							{{if eq $refGroup "pull"}} | ||||||
| 								{{if or (not $.HidePRRefs) (containGeneric $.SelectedBranches .Name)}} | 								{{if or (not $.HidePRRefs) (containGeneric $.SelectedBranches .Name)}} | ||||||
| 									<a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/pulls/{{.ShortName|PathEscape}}"> | 									<!-- it's intended to use issues not pulls, if it's a pull you will get redirected --> | ||||||
|  | 									<a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/issues/{{.ShortName|PathEscape}}"> | ||||||
| 										{{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}} | 										{{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}} | ||||||
| 									</a> | 									</a> | ||||||
| 								{{end}} | 								{{end}} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue