appview/pages: fix broken issue-comment links #764

merged
opened by boltless.me targeting master from feat/mentions
Changed files
+2 -2
appview
pages
templates
repo
issues
+2 -2
appview/pages/templates/repo/issues/fragments/issueCommentHeader.html
···
{{ end }}
{{ define "timestamp" }}
-
<a href="#{{ .Comment.Id }}"
+
<a href="#comment-{{ .Comment.Id }}"
class="text-gray-500 dark:text-gray-400 hover:text-gray-500 dark:hover:text-gray-400 hover:underline no-underline"
-
id="{{ .Comment.Id }}">
+
id="comment-{{ .Comment.Id }}">
{{ if .Comment.Deleted }}
{{ template "repo/fragments/shortTimeAgo" .Comment.Deleted }}
{{ else if .Comment.Edited }}