Cosmetic changes
This commit is contained in:
34
resources/views/catalog/widgets/duplicates.blade.php
Normal file
34
resources/views/catalog/widgets/duplicates.blade.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-50">Remove</th>
|
||||
<th class="w-50">Source</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@foreach ($catalog as $o)
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="items[]" value="{{ $o->id }}">
|
||||
@include('photo.widgets.thumbnail',['o'=>$o])
|
||||
</td>
|
||||
|
||||
@if (! ($d=$o->duplicates()->get())->count())
|
||||
<td>
|
||||
No other duplicates found?
|
||||
</td>
|
||||
@continue
|
||||
|
||||
@else
|
||||
@foreach($d as $item)
|
||||
<td>
|
||||
<input type="hidden" name="items[]" value="{{ $item->id }}">
|
||||
@include('photo.widgets.thumbnail',['o'=>$item])
|
||||
</td>
|
||||
@endforeach
|
||||
@endif
|
||||
</tr>
|
||||
</tbody>
|
||||
@endforeach
|
||||
</table>
|
Reference in New Issue
Block a user