diff --git a/templates/Binarity/Resources/views/modules/article/visitor/default.blade.php b/templates/Binarity/Resources/views/modules/article/visitor/default.blade.php index 5f00b171..f03f0fef 100644 --- a/templates/Binarity/Resources/views/modules/article/visitor/default.blade.php +++ b/templates/Binarity/Resources/views/modules/article/visitor/default.blade.php @@ -17,14 +17,15 @@ @if($page->category)
- {{$page->category->name}} + {{$page->category->name}}
@endif - @if(isset($page->moduleSettings->allowComments) && $page->moduleSettings->allowComments != 0) + @if(isset($page->moduleSettings['allowComments']) && $page->moduleSettings['allowComments'] != 0)
- {{$page->comments->count()}} + {{count($page->comments)}}
@endif @@ -32,15 +33,13 @@

{{$page->title}}

- {!! $page->content !!} + {!! $page->pageContent !!}
- @if(isset($page->moduleSettings->allowComments) && $page->moduleSettings->allowComments != 0) + @if(isset($page->moduleSettings['allowComments']) && $page->moduleSettings['allowComments'] != 0)
- -

Komentáře

@foreach($page->comments as $comment) @@ -58,7 +57,7 @@
{{$comment->author->name}}
- {{$comment->content}} + {{$comment->ontent}}
@@ -81,7 +80,7 @@ @endif -
+ {!! csrf_field() !!} @if(!$loggedUser) diff --git a/templates/Binarity/Resources/views/modules/articlelist/visitor/default.blade.php b/templates/Binarity/Resources/views/modules/articlelist/visitor/default.blade.php index 6226ff86..f27072c3 100644 --- a/templates/Binarity/Resources/views/modules/articlelist/visitor/default.blade.php +++ b/templates/Binarity/Resources/views/modules/articlelist/visitor/default.blade.php @@ -32,16 +32,16 @@
- {{str_limit($article->meta_description, 250)}} + {{str_limit($article->metaDescription, 250)}} více
- @if(isset($article->moduleSettings->allowComments) && $article->moduleSettings->allowComments != 0 || $article->category) + @if(isset($article->moduleSettings['allowComments']) && $article->moduleSettings['allowComments'] != 0 || $article->category)