diff options
author | fnetX (aka fralix) <git@fralix.ovh> | 2021-05-25 22:02:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 16:02:37 -0400 |
commit | d5f20104da228df2bc6d705d6006d052d3a6f07d (patch) | |
tree | 91eb6fd9616ce16679a68ce7ba937e7ff0a60c3a /templates | |
parent | 5285a3e70e0718d0df0b4acaaf41926dcef303fd (diff) | |
download | gitea-d5f20104da228df2bc6d705d6006d052d3a6f07d.tar.gz gitea-d5f20104da228df2bc6d705d6006d052d3a6f07d.zip |
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 <noerw@users.noreply.github.com>
Remove trailing whitespace from PR review
Diffstat (limited to 'templates')
-rw-r--r-- | templates/shared/issuelist.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index c21b320cf7..984ddf4473 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -67,7 +67,7 @@ </a> {{end}} {{if .Ref}} - <a class="ref" {{if $.RepoLink}}href="{{$.RepoLink}}{{index $.IssueRefURLs .ID}}"{{else}}href="{{AppSubUrl}}/{{.Repo.OwnerName}}/{{.Repo.Name}}{{index $.IssueRefURLs .ID}}"{{end}}> + <a class="ref" {{if $.RepoLink}}href="{{index $.IssueRefURLs .ID}}"{{else}}href="{{AppSubUrl}}/{{.Repo.OwnerName}}/{{.Repo.Name}}{{index $.IssueRefURLs .ID}}"{{end}}> {{svg "octicon-git-branch" 14 "mr-2"}}{{index $.IssueRefEndNames .ID}} </a> {{end}} |