aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorsinguliere <35190819+singuliere@users.noreply.github.com>2022-02-06 11:59:12 +0100
committerGitHub <noreply@github.com>2022-02-06 10:59:12 +0000
commitce8eb20a00ff54f8d79dfe03796f11f9178d4c9d (patch)
tree60b24cf12d0694067dd3d59ef264305bce6f0c73 /templates
parent8bd89ca2941bdb4f41be82d0ae66fdf5ceca0fe5 (diff)
downloadgitea-ce8eb20a00ff54f8d79dfe03796f11f9178d4c9d.tar.gz
gitea-ce8eb20a00ff54f8d79dfe03796f11f9178d4c9d.zip
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 <singuliere@autistici.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_content/comments.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index e7c161a3f3..03e2728299 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -29,7 +29,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}}