Fix profile links and pagination

This commit is contained in:
Jonny Barnes 2022-05-15 17:10:42 +01:00
parent bfdbbcc6d1
commit ae43cf0928
6 changed files with 31 additions and 2 deletions

View file

@ -3,3 +3,4 @@
@import "layout/main.css";
@import "link-style.css";
@import "posse.css";
@import "user-profiles.css";

3
resources/css/user-profiles.css vendored Normal file
View file

@ -0,0 +1,3 @@
.hovercard {
display: none;
}

View file

@ -26,7 +26,7 @@
@endforeach
</div>
{{ $items->links() }}
{{ $items->links('templates.pagination') }}
@include('templates.bio')
@stop

View file

@ -0,0 +1,25 @@
@if ($paginator->hasPages())
<nav role="navigation">
<div>
@if ($paginator->onFirstPage())
<span>
{!! __('pagination.previous') !!}
</span>
@else
<a href="{{ $paginator->previousPageUrl() }}">
{!! __('pagination.previous') !!}
</a>
@endif
@if ($paginator->hasMorePages())
<a href="{{ $paginator->nextPageUrl() }}">
{!! __('pagination.next') !!}
</a>
@else
<span>
{!! __('pagination.next') !!}
</span>
@endif
</div>
</nav>
@endif