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 a2cfcdb commit 4fc53a3Copy full SHA for 4fc53a3
templates/repo/issue/view_content/comments.tmpl
@@ -484,7 +484,7 @@
484
</div>
485
486
<div class="ui attached segment comment-body">
487
- <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}}>
488
{{if .RenderedContent}}
489
{{.RenderedContent|Str2html}}
490
{{else}}
0 commit comments