From 79c3a07e9a79c0cdac95e86b1b9ffa8797b38788 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 15 Oct 2017 18:10:34 +0100 Subject: [PATCH] Fixed include syntax erroring within vue Fixes #553 --- resources/views/books/show.blade.php | 2 +- resources/views/chapters/show.blade.php | 28 +++++++++---------- resources/views/pages/form.blade.php | 6 ++-- .../views/partials/activity-item.blade.php | 2 +- resources/views/partials/book-tree.blade.php | 2 +- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index 956dbaf16..ea4a079e8 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -91,7 +91,7 @@ @section('body') -
+

{{$book->name}}

{!! nl2br(e($book->description)) !!}

diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.php index e5a044aa7..8f3b91435 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -1,19 +1,19 @@ @extends('sidebar-layout') @section('toolbar') -
+
@include('chapters._breadcrumbs', ['chapter' => $chapter])
- -
{{ trans('entities.export') }}
- -
+ +
{{ trans('entities.export') }}
+ +
@if(userCan('page-create', $chapter)) {{ trans('entities.pages_new') }} @endif @@ -96,13 +96,13 @@ @section('body') -
-

{{ $chapter->name }}

+
+

{{ $chapter->name }}

-

{!! nl2br(e($chapter->description)) !!}

+

{!! nl2br(e($chapter->description)) !!}

@if(count($pages) > 0) -
+

@foreach($pages as $page) @include('pages/list-item', ['page' => $page]) @@ -110,7 +110,7 @@ @endforeach
@else -
+

{{ trans('entities.chapters_empty') }}

@if(userCan('page-create', $chapter)) diff --git a/resources/views/pages/form.blade.php b/resources/views/pages/form.blade.php index c4a639898..12f2f3e97 100644 --- a/resources/views/pages/form.blade.php +++ b/resources/views/pages/form.blade.php @@ -51,7 +51,7 @@

{{--Title input--}} -
+
@include('form/text', ['name' => 'name', 'placeholder' => trans('entities.pages_title')])
@@ -63,7 +63,7 @@ {{--WYSIWYG Editor--}} @if(setting('app-editor') === 'wysiwyg')
-
@@ -74,7 +74,7 @@ {{--Markdown Editor--}} @if(setting('app-editor') === 'markdown') -
+
diff --git a/resources/views/partials/activity-item.blade.php b/resources/views/partials/activity-item.blade.php index 3f162e0bd..185e68038 100644 --- a/resources/views/partials/activity-item.blade.php +++ b/resources/views/partials/activity-item.blade.php @@ -7,7 +7,7 @@
@endif -
+
@if($activity->user) {{ $activity->user->name }} @else diff --git a/resources/views/partials/book-tree.blade.php b/resources/views/partials/book-tree.blade.php index 867d9779c..b954a4952 100644 --- a/resources/views/partials/book-tree.blade.php +++ b/resources/views/partials/book-tree.blade.php @@ -1,4 +1,4 @@ -
+

{{ trans('entities.books_navigation') }}