Skip to content

Commit 4fc53a3

Browse files
authored
Make code review ceckboxes clickable (#20481)
1 parent a2cfcdb commit 4fc53a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@
484484
</div>
485485
</div>
486486
<div class="ui attached segment comment-body">
487-
<div class="render-content markup">
487+
<div class="render-content markup" {{if or $.Permission.IsAdmin $.HasIssuesOrPullsWritePermission (and $.IsSigned (eq $.SignedUserID .PosterID))}}data-can-edit="true"{{end}}>
488488
{{if .RenderedContent}}
489489
{{.RenderedContent|Str2html}}
490490
{{else}}

0 commit comments

Comments
 (0)