|
|
@ -27,7 +27,8 @@ |
|
|
|
user=input.user |
|
|
|
on-open("onOpenComment", comment) |
|
|
|
/> |
|
|
|
<if-permitted if(input.chapter.canComment) user=input.user author=input.chapter.author permission="chapter.edit"> |
|
|
|
|
|
|
|
<if-permitted if(input.chapter.canComment) user=input.user permission=["member", "chapter.edit"]> |
|
|
|
<div class="add-comment color-menu" on-click("open", "addComment") >Add ${state.commentLabels[input.chapter.commentMode] || "Comment"}</div> |
|
|
|
</if-permitted> |
|
|
|
</div> |
|
|
|