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

13 lines
609 B
Plaintext

//- NOTE: You must to define 'var commentModel' with the object model
section.us-comments
div.add-comment(tg-check-permission, permission="modify_"+commentModel)
textarea(placeholder="Write here a new commet", ng-model="commentModel.comment")
a.button.button-green(href="", title="Comment") Comment
div.comment-list
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)