FEATURE: minor change in icon (remove->trash)
This commit is contained in:
@@ -3,6 +3,7 @@ return [
|
|||||||
'overview' => 'List of all files',
|
'overview' => 'List of all files',
|
||||||
'upload' => 'Upload new file',
|
'upload' => 'Upload new file',
|
||||||
'edit' => 'Edit file :name',
|
'edit' => 'Edit file :name',
|
||||||
|
'delete' => 'Delete',
|
||||||
'fileInfo' => 'Information',
|
'fileInfo' => 'Information',
|
||||||
'createdAt' => 'Uploaded',
|
'createdAt' => 'Uploaded',
|
||||||
'updatedAt' => 'Last change',
|
'updatedAt' => 'Last change',
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
@section('pageHeading', @trans('admin/fileManager.edit', ['name' => $file->original_filename]))
|
@section('pageHeading', @trans('admin/fileManager.edit', ['name' => $file->original_filename]))
|
||||||
@section('headerButtons')
|
@section('headerButtons')
|
||||||
<a href="{{route('upload.delete', ['id' => $file->id])}}" class="btn btn-danger btn-sm rounded" title="@lang('admin/fileManager.delete')">
|
<a href="{{route('upload.delete', ['id' => $file->id])}}" class="btn btn-danger btn-sm confirm rounded" title="@lang('admin/fileManager.delete')">
|
||||||
<i class="fa fa-remove"></i>
|
<i class="fa fa-trash"></i>
|
||||||
</a>
|
</a>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
|
|
||||||
<a href="{{route('upload.detail', ['id' => $file->id])}}">
|
<a href="{{route('upload.detail', ['id' => $file->id])}}">
|
||||||
{{str_limit($file->original_filename, 10)}}
|
{{str_limit($file->original_filename, 10)}}
|
||||||
</a>
|
</a>```
|
||||||
|
|
||||||
@if(!isset($hideDelete) || !$hideDelete)
|
@if(!isset($hideDelete) || !$hideDelete)
|
||||||
<a href="{{route('upload.delete', ['id' => $file->id])}}" class="btn btn-sm btn-danger"
|
<a href="{{route('upload.delete', ['id' => $file->id])}}" class="btn btn-sm btn-danger confirm"
|
||||||
title="@lang('admin/fileManager.delete')">
|
title="@lang('admin/fileManager.delete')">
|
||||||
<i class="fa fa-remove"></i>
|
<i class="fa fa-trash"></i>
|
||||||
</a>
|
</a>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<a href="{{route('widgets.associate', ['widgetArea' => $area->id])}}"><i class="fa fa-plus"></i></a>
|
<a href="{{route('widgets.associate', ['widgetArea' => $area->id])}}"><i class="fa fa-plus"></i></a>
|
||||||
<a href="{{route('widgetareas.edit', ['id' => $area->id])}}"><i class="fa fa-edit"></i></a>
|
<a href="{{route('widgetareas.edit', ['id' => $area->id])}}"><i class="fa fa-edit"></i></a>
|
||||||
<a href="{{route('widgetareas.delete', ['id' => $area->id])}}"><i
|
<a href="{{route('widgetareas.delete', ['id' => $area->id])}}"><i
|
||||||
class="fa fa-remove confirm"></i></a>
|
class="fa fa-trash confirm"></i></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
@if (in_array($widget->id, $associatedWidgetIds))
|
@if (in_array($widget->id, $associatedWidgetIds))
|
||||||
<a href="{{route('widgets.deleteAssociation', ['widgetId' => $widget->id, 'widgetArea' => $widgetArea->id])}}"
|
<a href="{{route('widgets.deleteAssociation', ['widgetId' => $widget->id, 'widgetArea' => $widgetArea->id])}}"
|
||||||
class="button column confirm large-6 alert">
|
class="button column confirm large-6 alert">
|
||||||
<i class="fa fa-remove"></i>
|
<i class="fa fa-trash"></i>
|
||||||
</a>
|
</a>
|
||||||
@else
|
@else
|
||||||
<a href="{{route('widgets.makeAssociation', ['widgetId' => $widget->id, 'widgetArea' => $widgetArea->id])}}"
|
<a href="{{route('widgets.makeAssociation', ['widgetId' => $widget->id, 'widgetArea' => $widgetArea->id])}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user