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 9c584e3 commit 2b718c5Copy full SHA for 2b718c5
templates/repo/diff/comments.tmpl
@@ -51,7 +51,7 @@
51
</div>
52
53
<div class="ui attached segment comment-body">
54
- <div class="render-content markup" {{if or $.Permission.IsAdmin $.HasIssuesOrPullsWritePermission (and $.IsSigned (eq $.SignedUserID .PosterID))}}data-can-edit="true"{{end}}>
+ <div class="render-content markup" {{if or $.Permission.IsAdmin $.HasIssuesOrPullsWritePermission (and $.root.IsSigned (eq $.root.SignedUserID .PosterID))}}data-can-edit="true"{{end}}>
55
{{if .RenderedContent}}
56
{{.RenderedContent|Str2html}}
57
{{else}}
0 commit comments