@extends('backend.partials.master') @section('title') {{ ___('label.to_do_list') }} {{ ___('label.list') }} @endsection @section('maincontent')
| {{ ___('label.id') }} | {{ ___('label.date') }} | {{ ___('label.title') }} | {{ ___('label.description') }} | {{ ___('label.file') }} | {{ ___('label.note') }} | {{ ___('label.status') }} | {{ ___('label.action') }} |
|---|---|---|---|---|---|---|---|
| {{++$key}} | {{ $todo->date }} | {{$todo->title}} | {{\Str::limit($todo->description,100,' ...')}} |
{{-- Guard on ->original too: without it a todo with no file
rendered a "Download" link pointing at the site root. --}}
@if($todo->upload?->original)
@if($todo->upload->type === 'image')
|
{{$todo->note}} | {!! $todo->TodoStatus !!} |