Removed filetype column - it’s dumb

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-10-17 00:21:43 +01:00
parent 02c80ff18a
commit d67addc69e

View file

@ -995,7 +995,6 @@
<thead> <thead>
<tr> <tr>
<th data-visible="true" data-field="icon" data-sortable="true">{{trans('general.icon')}}</th>
<th data-visible="true" data-field="type" data-sortable="true">{{trans('general.file_type')}}</th> <th data-visible="true" data-field="type" data-sortable="true">{{trans('general.file_type')}}</th>
<th class="col-md-2" data-searchable="true" data-visible="true" data-field="image">{{ trans('general.image') }}</th> <th class="col-md-2" data-searchable="true" data-visible="true" data-field="image">{{ trans('general.image') }}</th>
<th class="col-md-2" data-searchable="true" data-visible="true" data-field="filename" data-sortable="true">{{ trans('general.file_name') }}</th> <th class="col-md-2" data-searchable="true" data-visible="true" data-field="filename" data-sortable="true">{{ trans('general.file_name') }}</th>
@ -1013,9 +1012,6 @@
<i class="{{ Helper::filetype_icon($file->filename) }} icon-med" aria-hidden="true" data-tooltip="true" data-title="{{ pathinfo('private_uploads/users/'.$file->filename, PATHINFO_EXTENSION) }}"></i> <i class="{{ Helper::filetype_icon($file->filename) }} icon-med" aria-hidden="true" data-tooltip="true" data-title="{{ pathinfo('private_uploads/users/'.$file->filename, PATHINFO_EXTENSION) }}"></i>
<span class="sr-only">{{ Helper::filetype_icon($file->filename) }}</span> <span class="sr-only">{{ Helper::filetype_icon($file->filename) }}</span>
</td> </td>
<td>
{{ pathinfo('private_uploads/users/'.$file->filename, PATHINFO_EXTENSION) }}
</td>
<td> <td>
@if (($file->filename) && (Storage::exists('private_uploads/users/'.$file->filename))) @if (($file->filename) && (Storage::exists('private_uploads/users/'.$file->filename)))
@if (Helper::checkUploadIsImage($file->get_src('users'))) @if (Helper::checkUploadIsImage($file->get_src('users')))