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]>
This commit is contained in:
singuliere
2022-02-06 19:40:08 +08:00
committed by GitHub
co-authored by GitHub Lunny Xiao
parent a13fb154ae
commit fabc0ad157
@@ -28,7 +28,7 @@
{{ .OriginalAuthor }}
</span>
<span class="text grey">
{{$.i18n.Tr "repo.issues.commented_at" (.Issue.HashTag|Escape) $createdStr | Safe}} {{if $.Repository.OriginalURL}}
{{$.i18n.Tr "repo.issues.commented_at" (.HashTag|Escape) $createdStr | Safe}} {{if $.Repository.OriginalURL}}
</span>
<span class="text migrate">
({{$.i18n.Tr "repo.migrated_from" ($.Repository.OriginalURL|Escape) ($.Repository.GetOriginalURLHostname|Escape) | Safe }}){{end}}