mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Removed filetype column - it’s dumb
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
02c80ff18a
commit
d67addc69e
|
@ -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')))
|
||||||
|
|
Loading…
Reference in a new issue