Skip to content

Commit ce8eb20

Browse files
authored
comments on migrated issues/prs must link to the comment ID (#18630)
Instead of the issue ID which is not a valid anchor. Signed-off-by: singuliere <[email protected]>
1 parent 8bd89ca commit ce8eb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{{ .OriginalAuthor }}
3030
</span>
3131
<span class="text grey">
32-
{{$.i18n.Tr "repo.issues.commented_at" (.Issue.HashTag|Escape) $createdStr | Safe}} {{if $.Repository.OriginalURL}}
32+
{{$.i18n.Tr "repo.issues.commented_at" (.HashTag|Escape) $createdStr | Safe}} {{if $.Repository.OriginalURL}}
3333
</span>
3434
<span class="text migrate">
3535
({{$.i18n.Tr "repo.migrated_from" ($.Repository.OriginalURL|Escape) ($.Repository.GetOriginalURLHostname|Escape) | Safe }}){{end}}

0 commit comments

Comments
 (0)