NOW MANAGED ON CODEBERG
Fixed include syntax erroring within vue
Dan Brown79c3a07e9a79
diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.phpindex 956dbaf16..ea4a079e8 100644--- a/resources/views/books/show.blade.php+++ b/resources/views/books/show.blade.php@@ -91,7 +91,7 @@@section('body')- <div ng-non-bindable class="container small">+ <div class="container small"><h1>{{$book->name}}</h1><div class="book-content" v-show="!searching"><p class="text-muted" v-pre>{!! nl2br(e($book->description)) !!}</p>diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.phpindex 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')- <div class="col-sm-6 col-xs-3 faded" ng-non-bindable>+ <div class="col-sm-6 col-xs-3 faded" v-pre>@include('chapters._breadcrumbs', ['chapter' => $chapter])</div><div class="col-sm-6 col-xs-9 faded"><div class="action-buttons">- <span dropdown class="dropdown-container">- <div dropdown-toggle class="text-button text-primary"><i class="zmdi zmdi-open-in-new"></i>{{ trans('entities.export') }}</div>- <ul class="wide">- <li><a href="{{ $chapter->getUrl('/export/html') }}" target="_blank">{{ trans('entities.export_html') }} <span class="text-muted float right">.html</span></a></li>- <li><a href="{{ $chapter->getUrl('/export/pdf') }}" target="_blank">{{ trans('entities.export_pdf') }} <span class="text-muted float right">.pdf</span></a></li>- <li><a href="{{ $chapter->getUrl('/export/plaintext') }}" target="_blank">{{ trans('entities.export_text') }} <span class="text-muted float right">.txt</span></a></li>- </ul>- </span>+ <span dropdown class="dropdown-container">+ <div dropdown-toggle class="text-button text-primary"><i class="zmdi zmdi-open-in-new"></i>{{ trans('entities.export') }}</div>+ <ul class="wide">+ <li><a href="{{ $chapter->getUrl('/export/html') }}" target="_blank">{{ trans('entities.export_html') }} <span class="text-muted float right">.html</span></a></li>+ <li><a href="{{ $chapter->getUrl('/export/pdf') }}" target="_blank">{{ trans('entities.export_pdf') }} <span class="text-muted float right">.pdf</span></a></li>+ <li><a href="{{ $chapter->getUrl('/export/plaintext') }}" target="_blank">{{ trans('entities.export_text') }} <span class="text-muted float right">.txt</span></a></li>+ </ul>+ </span>@if(userCan('page-create', $chapter))<a href="{{ $chapter->getUrl('/create-page') }}" class="text-pos text-button"><i class="zmdi zmdi-plus"></i>{{ trans('entities.pages_new') }}</a>@endif@@ -96,13 +96,13 @@@section('body')- <div class="container small" ng-non-bindable >- <h1>{{ $chapter->name }}</h1>+ <div class="container small">+ <h1 v-pre>{{ $chapter->name }}</h1><div class="chapter-content" v-show="!searching">- <p class="text-muted">{!! nl2br(e($chapter->description)) !!}</p>+ <p v-pre class="text-muted">{!! nl2br(e($chapter->description)) !!}</p>@if(count($pages) > 0)- <div class="page-list">+ <div v-pre class="page-list"><hr>@foreach($pages as $page)@include('pages/list-item', ['page' => $page])@@ -110,7 +110,7 @@@endforeach</div>@else- <div class="well">+ <div v-pre class="well"><p class="text-muted italic">{{ trans('entities.chapters_empty') }}</p><p>@if(userCan('page-create', $chapter))diff --git a/resources/views/pages/form.blade.php b/resources/views/pages/form.blade.phpindex c4a639898..12f2f3e97 100644--- a/resources/views/pages/form.blade.php+++ b/resources/views/pages/form.blade.php@@ -51,7 +51,7 @@</div>{{--Title input--}}- <div class="title-input page-title clearfix" ng-non-bindable>+ <div class="title-input page-title clearfix" v-pre><div class="input">@include('form/text', ['name' => 'name', 'placeholder' => trans('entities.pages_title')])</div>@@ -63,7 +63,7 @@{{--WYSIWYG Editor--}}@if(setting('app-editor') === 'wysiwyg')<div wysiwyg-editor class="flex-fill flex">- <textarea id="html-editor" name="html" rows="5" ng-non-bindable+ <textarea id="html-editor" name="html" rows="5" v-pre@if($errors->has('html')) class="neg" @endif>@if(isset($model) || old('html')){{htmlspecialchars( old('html') ? old('html') : $model->html)}}@endif</textarea></div>@@ -74,7 +74,7 @@{{--Markdown Editor--}}@if(setting('app-editor') === 'markdown')- <div ng-non-bindable id="markdown-editor" markdown-editor class="flex-fill flex code-fill">+ <div v-pre id="markdown-editor" markdown-editor class="flex-fill flex code-fill"><div class="markdown-editor-wrap"><div class="editor-toolbar">diff --git a/resources/views/partials/activity-item.blade.php b/resources/views/partials/activity-item.blade.phpindex 3f162e0bd..185e68038 100644--- a/resources/views/partials/activity-item.blade.php+++ b/resources/views/partials/activity-item.blade.php@@ -7,7 +7,7 @@</div>@endif-<div class="right" ng-non-bindable>+<div class="right" v-pre>@if($activity->user)<a href="{{ $activity->user->getProfileUrl() }}">{{ $activity->user->name }}</a>@elsediff --git a/resources/views/partials/book-tree.blade.php b/resources/views/partials/book-tree.blade.phpindex 867d9779c..b954a4952 100644--- a/resources/views/partials/book-tree.blade.php+++ b/resources/views/partials/book-tree.blade.php@@ -1,4 +1,4 @@-<div class="card book-tree" ng-non-bindable>+<div class="card book-tree" v-pre><h3><i class="zmdi zmdi-book"></i> {{ trans('entities.books_navigation') }}</h3><div class="body"><ul class="sidebar-page-list menu">