Backport #19023 Fix #19018 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
bc1248ed9e
commit
03d924238c
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@
|
||||||
<div class="column">
|
<div class="column">
|
||||||
{{if $.Permission.CanRead $.UnitTypeIssues}}
|
{{if $.Permission.CanRead $.UnitTypeIssues}}
|
||||||
<div class="ui link list">
|
<div class="ui link list">
|
||||||
<a class="item ref-in-new-issue" href="{{.RepoLink}}/issues/new?body={{.Repository.HTMLURL}}{{printf "/src/commit/" }}{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}">{{.i18n.Tr "repo.issues.context.reference_issue"}}</a>
|
<a class="item ref-in-new-issue" href="{{.RepoLink}}/issues/new?body={{.Repository.HTMLURL}}{{printf "/src/commit/" }}{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}" rel="nofollow noindex">{{.i18n.Tr "repo.issues.context.reference_issue"}}</a>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="ui link list">
|
<div class="ui link list">
|
||||||
|
|
Reference in a new issue