FIX: fix cache-related bug
This commit is contained in:
@@ -14,7 +14,7 @@ Improvement: http://www.html5rocks.com/en/tutorials/dnd/basics/
|
||||
@if(isset($homepage))
|
||||
@include('admin.snippets.card', [
|
||||
'type' => 'primary',
|
||||
'title' => $homepage->title.' <small>'.trans($homepage->module_name).'</small>',
|
||||
'title' => $homepage->title.' <small>'.trans($homepage->module->name).'</small>',
|
||||
'body' => '<p>'.str_limit(strip_tags($homepage->content), 200).'</p>',
|
||||
'footerClass' => 'text-right',
|
||||
'footer' => '<a href="'.route('content.edit', ['page' => $homepage]).'" class="btn btn-secondary btn-sm"><i class="fa fa-fw fa-pencil"></i></a>'
|
||||
@@ -34,7 +34,7 @@ Improvement: http://www.html5rocks.com/en/tutorials/dnd/basics/
|
||||
|
||||
|
||||
@include('admin.snippets.card', [
|
||||
'title' => $allPages[$pageId]->title.' <small>'.trans($allPages[$pageId]->module_name).'</small>',
|
||||
'title' => $allPages[$pageId]->title.' <small>'.trans($allPages[$pageId]->module->name).'</small>',
|
||||
'body' => '<p>'.str_limit(strip_tags($allPages[$pageId]->content), 200).'</p>',
|
||||
'footerClass' => 'text-right',
|
||||
'footer' => '
|
||||
@@ -55,7 +55,7 @@ Improvement: http://www.html5rocks.com/en/tutorials/dnd/basics/
|
||||
<div class="card-header">
|
||||
<div class="header-block">
|
||||
<p class="title">{{$page->title}}
|
||||
<small>@lang($page->module_name)</small>
|
||||
<small>@lang($page->module->name)</small>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user