Fix profile links and pagination
This commit is contained in:
parent
bfdbbcc6d1
commit
ae43cf0928
6 changed files with 31 additions and 2 deletions
1
resources/css/app.css
vendored
1
resources/css/app.css
vendored
|
@ -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
3
resources/css/user-profiles.css
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.hovercard {
|
||||
display: none;
|
||||
}
|
|
@ -26,7 +26,7 @@
|
|||
@endforeach
|
||||
</div>
|
||||
|
||||
{{ $items->links() }}
|
||||
{{ $items->links('templates.pagination') }}
|
||||
|
||||
@include('templates.bio')
|
||||
@stop
|
||||
|
|
25
resources/views/templates/pagination.blade.php
Normal file
25
resources/views/templates/pagination.blade.php
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue