2017-05-25 04:34:19 +02:00
|
|
|
<div class='page-comment' id="comment-@{{::pageId}}-@{{::comment.id}}">
|
2017-04-18 21:54:33 +02:00
|
|
|
<div class="user-image">
|
2017-05-30 05:32:47 +02:00
|
|
|
<img ng-src="@{{::comment.created_by.avatar_url}}" alt="user avatar">
|
2017-04-18 21:54:33 +02:00
|
|
|
</div>
|
|
|
|
<div class="comment-container">
|
|
|
|
<div class="comment-header">
|
2017-05-30 05:32:47 +02:00
|
|
|
<a href="@{{::comment.created_by.profile_url}}">@{{ ::comment.created_by.name }}</a>
|
2017-04-18 21:54:33 +02:00
|
|
|
</div>
|
2017-05-15 21:10:14 +02:00
|
|
|
<div ng-bind-html="comment.html" class="comment-body">
|
2017-04-18 21:54:33 +02:00
|
|
|
|
|
|
|
</div>
|
2017-05-30 05:32:47 +02:00
|
|
|
<div class="comment-actions">
|
2017-04-18 21:54:33 +02:00
|
|
|
<ul>
|
2017-06-04 07:47:14 +02:00
|
|
|
<li ng-if="::(level < 3 && vm.canComment())"><a href="#" comment-reply-link no-comment-reply-dupe="true" comment="comment" is-reply="true">Reply</a></li>
|
|
|
|
<li ng-if="::vm.canEdit(comment)"><a href="#" comment-reply-link no-comment-reply-dupe="true" comment="comment" >Edit</a></li>
|
2017-05-25 04:34:19 +02:00
|
|
|
<li>Created <a title="@{{::comment.created.day_time_str}}" href="#comment-@{{::comment.id}}-@{{::pageId}}">@{{::comment.created.diff}}</a></li>
|
2017-05-30 05:32:47 +02:00
|
|
|
<li ng-if="comment.updated"><span title="@{{comment.updated.day_time_str}}">Updated @{{comment.updated.diff}} by
|
|
|
|
<a href="@{{comment.updated_by.profile_url}}">@{{comment.updated_by.name}}</a></span></li>
|
2017-05-24 03:32:11 +02:00
|
|
|
</ul>
|
2017-04-18 21:54:33 +02:00
|
|
|
</div>
|
2017-05-30 05:32:47 +02:00
|
|
|
<div class="comment-box" ng-repeat="comment in comments = comment.sub_comments track by comment.id" ng-init="level = level + 1">
|
2017-04-26 23:05:29 +02:00
|
|
|
<div ng-include src="'comment-list-item.html'">
|
|
|
|
</div>
|
2017-05-24 03:32:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-18 21:54:33 +02:00
|
|
|
</div>
|