18 lines
705 B
PHP
18 lines
705 B
PHP
|
@if ($paginator->count() > 1)
|
||
|
<ul class="pagination">
|
||
|
<!-- Previous Page Link -->
|
||
|
@if ($paginator->onFirstPage())
|
||
|
<li class="page-item disabled"><span class="page-link">«</span></li>
|
||
|
@else
|
||
|
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li>
|
||
|
@endif
|
||
|
|
||
|
<!-- Next Page Link -->
|
||
|
@if ($paginator->hasMorePages())
|
||
|
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">»</a></li>
|
||
|
@else
|
||
|
<li class="page-item disabled"><span class="page-link">»</span></li>
|
||
|
@endif
|
||
|
</ul>
|
||
|
@endif
|