File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
@**
* Yona, 21st Century Project Hosting SW
*
* Copyright Yona & Yobi Authors & NAVER Corp.
* https://yona.io
**@
@(comment:Comment, action:String, contents:String)
@import utils.AccessControl._
<div id="comment-editform-@comment.id" class="comment-update-form">
<form action="@action" method="post">
<input type="hidden" name="id" value="@comment.id">
<div class="write-comment-box">
<div class="write-comment-wrap">
@common.editor("contents", contents,"", "update-comment-body")
<div class="right-txt comment-update-button">
@if(comment.isAuthoredBy(UserApp.currentUser())){
<span class="send-notification-check" data-toggle='popover' data-trigger="hover" data-placement="top" data-content="@Messages("notification.send.mail.warning")">
<label class="checkbox inline">
<input type="checkbox" name="notificationMail" id="notificationMail" value="yes" checked>
<strong>@Messages("notification.send.mail")</strong>
</label>
</span>
}
<button type="button" class="ybtn ybtn-cancel" data-comment-id="@comment.id">@Messages("button.cancel")</button>
@if(isAllowed(UserApp.currentUser(), comment.asResource(), Operation.UPDATE)) {
<button type="submit" class="ybtn ybtn-info">@Messages("button.save")</button>
}
</div>
</div>
</div>
</form>
</div>