@if ($currfolder == null)
@foreach (auth()->user()->folders ?? [] as $folder)

{{ $folder->name }}

{{ $folder->updated_at->diffForHumans() }}
@endforeach
@else

{{ $currfolder->name }}

{{ $currfolder->updated_at->diffForHumans() }}
@endif
@foreach($items as $entry) @if($entry->generator != null && $entry->generator->type == 'code') @endif @endforeach
{{__('Name')}} {{__('Type')}} {{__('Date')}} {{__('Cost')}} {{__('Actions')}}
@if ( $entry->generator->image !== 'none' ) {!! html_entity_decode($entry->generator->image) !!} @endif @if($entry->generator->type == 'text') {{\Illuminate\Support\Str::limit(strip_tags($entry->title . " | " .$entry->output), 50)}} @elseif($entry->generator->type == 'audio') {!! \Illuminate\Support\Str::limit($entry->title . " | " .$entry->output, 50) !!} @elseif($entry->generator->type == 'code') {{\Illuminate\Support\Str::limit(strip_tags($entry->title . " | " .$entry->output), 50)}} @else @endif
{{$entry->generator->title}}

{{date("M j Y", strtotime($entry->created_at))}}, {{date("H:i", strtotime($entry->created_at))}}

{{$entry->credits}}
{{$items->links('pagination::bootstrap-5')}}