Skip to content

Commit fabc0ad

Browse files
singulierelunny
andauthored
comments on migrated issues/prs must link to the comment ID (#18637)
Instead of the issue ID which is not a valid anchor. Signed-off-by: singuliere <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent a13fb15 commit fabc0ad

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
@@ -28,7 +28,7 @@
2828
{{ .OriginalAuthor }}
2929
</span>
3030
<span class="text grey">
31-
{{$.i18n.Tr "repo.issues.commented_at" (.Issue.HashTag|Escape) $createdStr | Safe}} {{if $.Repository.OriginalURL}}
31+
{{$.i18n.Tr "repo.issues.commented_at" (.HashTag|Escape) $createdStr | Safe}} {{if $.Repository.OriginalURL}}
3232
</span>
3333
<span class="text migrate">
3434
({{$.i18n.Tr "repo.migrated_from" ($.Repository.OriginalURL|Escape) ($.Repository.GetOriginalURLHostname|Escape) | Safe }}){{end}}

0 commit comments

Comments
 (0)