File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 329
329
<div class="detail">
330
330
{{svg "octicon-plus"}}
331
331
<span class="text grey muted-links">
332
- <a class="muted" href="{{.DependentIssue.Link}}">
332
+ <a href="{{.DependentIssue.Link}}">
333
333
{{if eq .DependentIssue.RepoID .Issue.RepoID}}
334
334
#{{.DependentIssue.Index}} {{.DependentIssue.Title}}
335
335
{{else}}
352
352
<div class="detail">
353
353
<span class="text grey muted-links">{{svg "octicon-trash"}}</span>
354
354
<span class="text grey muted-links">
355
- <a class="muted" href="{{.DependentIssue.Link}}">
355
+ <a href="{{.DependentIssue.Link}}">
356
356
{{if eq .DependentIssue.RepoID .Issue.RepoID}}
357
357
#{{.DependentIssue.Index}} {{.DependentIssue.Title}}
358
358
{{else}}
Original file line number Diff line number Diff line change 110
110
</table>
111
111
<div class="code-line-menu ui vertical pointing menu tippy-target">
112
112
{{if $.Permission.CanRead $.UnitTypeIssues}}
113
- <a class="item ref-in-new-issue" href="{{.RepoLink}}/issues/new?body={{.Repository.Link}}{{printf "/src/commit/"}}{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}" rel="nofollow noindex">{{.locale.Tr "repo.issues.context.reference_issue"}}</a>
113
+ {{/* FIXME: Here we use HTMLURL but not link, see https://github.com/go-gitea/gitea/pull/21986/files#r1096532186*/}}
114
+ <a class="item ref-in-new-issue" href="{{.RepoLink}}/issues/new?body={{.Repository.HTMLURL}}{{printf "/src/commit/"}}{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}" rel="nofollow noindex">{{.locale.Tr "repo.issues.context.reference_issue"}}</a>
114
115
{{end}}
115
116
<a class="item view_git_blame" href="{{.Repository.Link}}/blame/commit/{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}">{{.locale.Tr "repo.view_git_blame"}}</a>
116
117
<a class="item copy-line-permalink" data-url="{{.Repository.Link}}/src/commit/{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}">{{.locale.Tr "repo.file_copy_permalink"}}</a>
You can’t perform that action at this time.
0 commit comments