We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2762921 commit e940443Copy full SHA for e940443
templates/repo/issue/view_content/comments_delete_time.tmpl
@@ -1,4 +1,4 @@
1
-{{if .comment.Time}} {{/* compatibility with time comments made before v1.14 */}}
+{{if and .comment.Time (.ctxData.Repository.IsTimetrackerEnabled ctx)}} {{/* compatibility with time comments made before v1.14 */}}
2
{{if (not .comment.Time.Deleted)}}
3
{{if (or .ctxData.IsAdmin (and .ctxData.IsSigned (eq .ctxData.SignedUserID .comment.PosterID)))}}
4
<span class="gt-float-right">
0 commit comments