1 <div class='page-comment' id="comment-@{{::pageId}}-@{{::comment.id}}">
2 <div class="user-image">
3 <img ng-src="@{{::comment.created_by.avatar_url}}" alt="user avatar">
5 <div class="comment-container">
6 <div class="comment-header">
7 <a href="@{{::comment.created_by.profile_url}}">@{{ ::comment.created_by.name }}</a>
9 <div ng-bind-html="comment.html" class="comment-body">
12 <div class="comment-actions">
14 <li ng-if="level < 3"><a href="#" comment-reply-link no-comment-reply-dupe="true" comment="comment" is-reply="true">Reply</a></li>
15 <li><a href="#" comment-reply-link no-comment-reply-dupe="true" comment="comment">Edit</a></li>
16 <li>Created <a title="@{{::comment.created.day_time_str}}" href="#comment-@{{::comment.id}}-@{{::pageId}}">@{{::comment.created.diff}}</a></li>
17 <li ng-if="comment.updated"><span title="@{{comment.updated.day_time_str}}">Updated @{{comment.updated.diff}} by
18 <a href="@{{comment.updated_by.profile_url}}">@{{comment.updated_by.name}}</a></span></li>
21 <div class="comment-box" ng-repeat="comment in comments = comment.sub_comments track by comment.id" ng-init="level = level + 1">
22 <div ng-include src="'comment-list-item.html'">