1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

#47 - Updates the total comments when a comment is added.

This commit is contained in:
Abijeet
2017-06-04 20:12:01 +05:30
parent 9558f84b97
commit 06d75e1804
6 changed files with 41 additions and 21 deletions

View File

@@ -6,11 +6,11 @@
<div class="comment-header">
<a href="@{{::comment.created_by.profile_url}}">@{{ ::comment.created_by.name }}</a>
</div>
<div ng-bind-html="comment.html" ng-if="::comment.active" class="comment-body">
<div ng-bind-html="comment.html" ng-if="::comment.active" class="comment-body" ng-class="!comment.active ? 'comment-inactive' : ''">
</div>
<div ng-if="::!comment.active" class="comment-body">
{{ trans('entites.comment_deleted') }}
<div ng-if="::!comment.active" class="comment-body comment-inactive">
{{ trans('activities.comment_deleted') }}
</div>
<div class="comment-actions">
<ul ng-if="!comment.is_hidden">