@extends('layouts.app') @section("title", "SaveSpace - Files") @section('head') @endsection @section('content')
@foreach($files as $file) @if($file->updated_at==NULL) @else @endif @if(auth()->user()->hasPermission('manage_all_files')) @else @endif @endforeach
Image Name Created at Updated at Folder name Folder archive ID Directory Actions
@if(in_array(explode('.', $file->name)[1], $excelExt))
@else @if(in_array(explode('.', $file->name)[1], $textExt))
@else @if(explode('.', $file->name)[1] == 'pdf')
@else @if(in_array(explode('.', $file->name)[1], $imageExt)) {{-- --}}
@else
@endif @endif @endif @endif
{{ $file->name }} {{ date('d.m.Y - H:i', strtotime($file->created_at)) }}/{{ date('d.m.Y - H:i', strtotime($file->updated_at)) }}{{ \App\Models\Folder::find($file->folder_id)->name }} {{ \App\Models\Folder::find($file->folder_id)->arch_id }} $file->id]) }}" class="text-danger ml-2"title="Download"> @if(auth()->user()->hasPermission('delete_data')) @endif
@endsection @section('script') @yield('script') @endsection