better file password implementation
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<x-slot:body>
|
||||
@foreach ($media as $medium)
|
||||
<tr>
|
||||
<td><img src="{{ $medium->thumbnail }}" class="max-h-12 max-w-12 -ml-2 -my-3 mr-3 inline rounded" alt="{{ $medium->title }}" />{{ $medium->title }}</td>
|
||||
<td><img src="{{ $medium->thumbnail }}" class="max-h-12 max-w-12 -ml-2 -my-3 mr-3 inline rounded" alt="{{ $medium->title }}" />{{ $medium->title }}{!! $medium->password !== null ? '<i class="fa-solid fa-lock text-xs text-gray-400 ml-0.5 -translate-y-1.5 scale-75"></i>': '' !!}</td>
|
||||
<td>{{ \App\Helpers::bytesToString($medium->size) }}</td>
|
||||
<td>{{ $medium->mime_type }}</td>
|
||||
<td>{{ \Carbon\Carbon::parse($medium->created_at)->format('M j Y, g:i a') }}</td>
|
||||
|
||||
Reference in New Issue
Block a user