Skip to content

Commit d5f2010

Browse files
authored
Remove branch URL before IssueRefURL (#15968)
Revert change for account / org dashboard where IssueRefURLs do not contain the full repo URL (case RepoLink is not true) Co-authored-by: Norwin <[email protected]> Remove trailing whitespace from PR review
1 parent 5285a3e commit d5f2010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/issuelist.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
</a>
6868
{{end}}
6969
{{if .Ref}}
70-
<a class="ref" {{if $.RepoLink}}href="{{$.RepoLink}}{{index $.IssueRefURLs .ID}}"{{else}}href="{{AppSubUrl}}/{{.Repo.OwnerName}}/{{.Repo.Name}}{{index $.IssueRefURLs .ID}}"{{end}}>
70+
<a class="ref" {{if $.RepoLink}}href="{{index $.IssueRefURLs .ID}}"{{else}}href="{{AppSubUrl}}/{{.Repo.OwnerName}}/{{.Repo.Name}}{{index $.IssueRefURLs .ID}}"{{end}}>
7171
{{svg "octicon-git-branch" 14 "mr-2"}}{{index $.IssueRefEndNames .ID}}
7272
</a>
7373
{{end}}

0 commit comments

Comments
 (0)