X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/e8f44186a8ebfac6789800211cb5a947991bf971..refs/pull/5721/head:/resources/views/comments/comment.blade.php
diff --git a/resources/views/comments/comment.blade.php b/resources/views/comments/comment.blade.php
index 5310b2fe4..d70a8c1d9 100644
--- a/resources/views/comments/comment.blade.php
+++ b/resources/views/comments/comment.blade.php
@@ -6,7 +6,7 @@
option:page-comment:comment-local-id="{{ $comment->local_id }}"
option:page-comment:updated-text="{{ trans('entities.comment_updated_success') }}"
option:page-comment:deleted-text="{{ trans('entities.comment_deleted_success') }}"
- option:page-comment:wysiwyg-language="{{ $locale->htmlLang() }}"
+ option:page-comment:archive-text="{{ $comment->archived ? trans('entities.comment_unarchive_success') : trans('entities.comment_archive_success') }}"
option:page-comment:wysiwyg-text-direction="{{ $locale->htmlDirection() }}"
id="comment{{$comment->local_id}}"
class="comment-box">
@@ -37,6 +37,12 @@
@if(userCan('comment-create-all'))
@endif
+ @if(!$comment->parent_id && (userCan('comment-update', $comment) || userCan('comment-delete', $comment)))
+
+ @endif
@if(userCan('comment-update', $comment))
@endif
@@ -80,7 +86,7 @@
option:page-comment-reference:view-comment-text="{{ trans('entities.comment_view') }}"
option:page-comment-reference:jump-to-thread-text="{{ trans('entities.comment_jump_to_thread') }}"
option:page-comment-reference:close-text="{{ trans('common.close') }}"
- href="#">@icon('bookmark')Reference - Outdated
+ href="#">@icon('bookmark'){{ trans('entities.comment_reference') }} {{ trans('entities.comment_reference_outdated') }}
@endif
{!! $commentHtml !!}