File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
resources/views/tailwind/pages Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3939 <span class =" text-sm text-blue-600 font-medium uppercase" >
4040 {{ $modelLabels [$item :: class ] ?? class_basename ($item ) } }
4141 </span >
42- @if (method_exists ( $item , ' publishing_begins_at ' ) && $item -> publishing_begins_at )
42+ @if ($item -> publishing_begins_at )
4343 <time class =" text-sm text-gray-500" >
44- {{ $item -> publishing_begins_at -> format (' M j, Y' ) } }
44+ {{ $item -> publishing_begins_at -> format (' d/m/Y' ) } }
45+ </time >
46+ @else
47+ <time class =" text-sm text-gray-500" >
48+ {{ $item -> created_at -> format (' d/m/Y' ) } }
4549 </time >
4650 @endif
4751 </div >
6266 <div class =" flex flex-wrap gap-1" >
6367 @foreach ($item -> tags -> take (5 ) as $itemTag )
6468 <span class =" px-2 py-1 bg-gray-50 rounded text-xs text-gray-700" >
65- {{ $itemTag -> getTranslation ( ' name' , app () -> getLocale ()) } }
69+ {{ $itemTag -> name } }
6670 </span >
6771 @endforeach
6872 </div >
7983 @else
8084 <div class =" text-center py-12" >
8185 <p class =" text-gray-600 text-lg" >
82- {{ flexiblePagesTrans (' tag_pages.no_content' , [' tag' => $tag -> getTranslation ( ' name' , app () -> getLocale ()) ]) } }
86+ {{ flexiblePagesTrans (' tag_pages.no_content' , [' tag' => $tag -> name ]) } }
8387 </p >
8488 </div >
8589 @endif
Original file line number Diff line number Diff line change 33namespace Statikbe \FilamentFlexibleContentBlockPages \Http \Controllers ;
44
55use Artesaos \SEOTools \Facades \SEOTools ;
6- use Filament \Facades \Filament ;
76use Filament \Resources \Resource ;
87use Illuminate \Pagination \LengthAwarePaginator ;
98use Illuminate \Support \Str ;
You can’t perform that action at this time.
0 commit comments