Commit e8838c90 authored by Nicolas Widart's avatar Nicolas Widart

Adding a thumbnail column

parent cdbec0a1
......@@ -36,7 +36,8 @@
<table class="data-table table table-bordered table-hover">
<thead>
<tr>
<th>{{ trans('core::core.table.created at') }}</th>
<th>{{ trans('media::media.table.filename') }}</th>
<th>{{ trans('core::core.table.thumbnail') }}</th>
<th>{{ trans('media::media.table.filename') }}</th>
<th>{{ trans('core::core.table.actions') }}</th>
</tr>
......@@ -50,6 +51,9 @@
{{ $file->created_at }}
</a>
</td>
<td>
<img src="{{ Imagy::getThumbnail($file->path, 'smallThumb') }}" alt=""/>
</td>
<td>
<a href="{{ URL::route('dashboard.media.edit', [$file->id]) }}">
{{ $file->filename }}
......@@ -68,6 +72,7 @@
<tfoot>
<tr>
<th>{{ trans('core::core.table.created at') }}</th>
<th>{{ trans('core::core.table.thumbnail') }}</th>
<th>{{ trans('media::media.table.filename') }}</th>
<th>{{ trans('core::core.table.actions') }}</th>
</tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment