@extends('backEnd.master') @section('title') @lang('downloadCenter.shared_content') @endsection @push('css') @endpush @section('mainContent')

@lang('downloadCenter.shared_content_list')

@foreach ($sharedContents as $key => $sharedContent) @php $send_type = ''; if ($sharedContent->send_type == 'G') { $send_type = 'Group'; } elseif ($sharedContent->send_type == 'I') { $send_type = 'Individual'; } elseif ($sharedContent->send_type == 'C') { $send_type = 'Class'; } else { $send_type = 'Public'; } @endphp {{-- Start Delete Modal --}} {{-- End Delete Modal --}} @endforeach
@lang('downloadCenter.sl') @lang('downloadCenter.title') @lang('downloadCenter.send_to') @lang('downloadCenter.share_date') @lang('downloadCenter.valid_upto') @lang('downloadCenter.shared_by') @lang('downloadCenter.description') @lang('common.action')
{{ $key + 1 }} {{ $sharedContent->title }} {{ $send_type }} {{ $sharedContent->share_date }} {{ $sharedContent->valid_upto }} {{ $sharedContent->user->full_name }} {{ $sharedContent->description ? $sharedContent->description : 'No Description' }} @if ($sharedContent->url) @lang('downloadCenter.link') @endif @lang('common.view') @if (auth()->user()->role_id != 2) @lang('common.delete') @endif
@endsection @include('backEnd.partials.data_table_js') @push('script') @endpush