Blame view

resources/views/partials/admin/pagination.blade.php 568 Bytes
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  @stack('pagination_start')
  
  @if ($items->firstItem())
      <div class="pull-left" style="margin-top: 7px;">
          <small>{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower(trans_choice('general.' . $type, 2))]) }}</small>
      </div>
      <div class="pull-right">
          {!! $items->appends(request()->except('page'))->links() !!}
      </div>
  @else
      <div class="pull-left">
          <small>{{ trans('general.no_records') }}</small>
      </div>
  @endif
  
  @stack('pagination_end')