mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-24 23:35:23 +00:00
17 lines
816 B
PHP
17 lines
816 B
PHP
@if ($paginator->hasPages())
|
|
<ul class="pagination">
|
|
{{-- Previous Page Link --}}
|
|
@if ($paginator->onFirstPage())
|
|
<li class="page-item disabled"><span class="page-link">@lang('pagination.previous')</span></li>
|
|
@else
|
|
<li class="page-item"><a class="page-link pagination__prev" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
|
|
@endif
|
|
|
|
{{-- Next Page Link --}}
|
|
@if ($paginator->hasMorePages())
|
|
<li class="page-item"><a class="page-link pagination__next" href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
|
|
@else
|
|
<li class="page-item disabled"><span class="page-link">@lang('pagination.next')</span></li>
|
|
@endif
|
|
</ul>
|
|
@endif
|