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

Merge branch 'disable-comments' of git://github.com/Abijeet/BookStack into Abijeet-disable-comments

This commit is contained in:
Dan Brown
2017-12-07 19:15:26 +00:00
15 changed files with 69 additions and 9 deletions

View File

@@ -131,7 +131,7 @@
</div>
@include('partials/book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree])
@stop
@section('body')
@@ -148,10 +148,11 @@
@include('pages/page-display')
</div>
<div class="container small nopad">
@include('comments/comments', ['page' => $page])
</div>
@if ($commentsEnabled)
<div class="container small nopad">
@include('comments/comments', ['page' => $page])
</div>
@endif
@stop
@section('scripts')

View File

@@ -38,6 +38,11 @@
<p class="small">{{ trans('settings.app_secure_images_desc') }}</p>
@include('components.toggle-switch', ['name' => 'setting-app-secure-images', 'value' => setting('app-secure-images')])
</div>
<div class="form-group">
<label>{{ trans('settings.app_disable_comments') }}</label>
<p class="small">{{ trans('settings.app_disable_comments_desc') }}</p>
@include('components.toggle-switch', ['name' => 'setting-app-disable-comments', 'value' => setting('app-disable-comments')])
</div>
<div class="form-group">
<label for="setting-app-editor">{{ trans('settings.app_editor') }}</label>
<p class="small">{{ trans('settings.app_editor_desc') }}</p>