summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVladimir Yakovlev <nagos@inbox.ru>2022-07-26 16:11:39 +0300
committerGitHub <noreply@github.com>2022-07-26 15:11:39 +0200
commit4fc53a3f30f6c71325b01654019c28c334271109 (patch)
tree53b25553fd794e482e66ce5cd4e4663268914eec /templates
parenta2cfcdb91a9098381bb1d71ebdf56baed4c0981d (diff)
downloadgitea-4fc53a3f30f6c71325b01654019c28c334271109.tar.gz
gitea-4fc53a3f30f6c71325b01654019c28c334271109.zip
Make code review ceckboxes clickable (#20481)
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 852c87f2f3..e284d5aef5 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -484,7 +484,7 @@
</div>
</div>
<div class="ui attached segment comment-body">
- <div class="render-content markup">
+ <div class="render-content markup" {{if or $.Permission.IsAdmin $.HasIssuesOrPullsWritePermission (and $.IsSigned (eq $.SignedUserID .PosterID))}}data-can-edit="true"{{end}}>
{{if .RenderedContent}}
{{.RenderedContent|Str2html}}
{{else}}