taiga-front/app/partials/views/modules/comments.jade

14 lines
678 B
Plaintext

//- NOTE: You must to define 'var commentModel' with the object model
section.us-comments
div.add-comment(tg-check-permission, tg-toggle-comment, permission="modify_"+commentModel)
textarea(placeholder="Write here a new commet", ng-model="commentModel.comment", tg-markitup)
a.button.button-green.save-comment(href="", title="Comment") Comment
div.comment-list
//common.coffee
div.comment-single(tg-change, mode="comment", ng-model="comment", ng-repeat="comment in comments")
//a.more-comments(href="", title="show more comments")
//span show previous comments
//span.prev-comments-num (3 more)