diff options
Diffstat (limited to 'apps/comments/js/templates/edit_comment.handlebars')
-rw-r--r-- | apps/comments/js/templates/edit_comment.handlebars | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/comments/js/templates/edit_comment.handlebars b/apps/comments/js/templates/edit_comment.handlebars new file mode 100644 index 00000000000..05f89ec598a --- /dev/null +++ b/apps/comments/js/templates/edit_comment.handlebars @@ -0,0 +1,16 @@ +<{{tag}} class="newCommentRow comment" data-id="{{id}}"> + <div class="authorRow"> + <div class="avatar currentUser" data-username="{{actorId}}"></div> + <div class="author currentUser">{{actorDisplayName}}</div> + {{#if isEditMode}} + <div class="action-container"> + <a href="#" class="action cancel icon icon-close has-tooltip" title="{{cancelText}}"></a> + </div> + {{/if}} + </div> + <form class="newCommentForm"> + <div contentEditable="true" class="message" data-placeholder="{{newMessagePlaceholder}}">{{message}}</div> + <input class="submit icon-confirm has-tooltip" type="submit" value="" title="{{submitText}}"/> + <div class="submitLoading icon-loading-small hidden"></div>'+ + </form> +'</{{tag}}> |