@extends('app') @section('title', 'Market') @section('content') @if(!$items->count())
@lang('DSpecial::common.no_items')
@else
@if($categories) All Items @foreach($categories as $key => $name) {{ $name }} @endforeach @endif
@if($items->count() > 1) @sortablelink('name', null, null, ['class' => 'btn btn-sm btn-secondary py-0 px-2 mx-1']) @sortablelink('price', null, null, ['class' => 'btn btn-sm btn-secondary py-0 px-2 mx-1']) @endif @lang('DSpecial::common.mymarket')
@foreach($items as $item)
{{ $item->name }}
@if(filled($item->image_url)) {{ $item->name }} @endif {!! $item->description !!}
@endforeach
@endif {{ $items->links('pagination.default') }} @endsection