Skip to content

Commit

Permalink
[5.6] Fix wrong pagination symbols (#23127)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-ww authored and taylorotwell committed Feb 12, 2018
1 parent 4e5dce6 commit 06c7160
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled"><span class="page-link">&laquo;</span></li>
<li class="page-item disabled"><span class="page-link">&lsaquo;</span></li>
@else
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">&laquo;</a></li>
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">&lsaquo;</a></li>
@endif

{{-- Pagination Elements --}}
Expand All @@ -28,9 +28,9 @@

{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">&raquo;</a></li>
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">&rsaquo;</a></li>
@else
<li class="page-item disabled"><span class="page-link">&raquo;</span></li>
<li class="page-item disabled"><span class="page-link">&rsaquo;</span></li>
@endif
</ul>
@endif
8 changes: 4 additions & 4 deletions src/Illuminate/Pagination/resources/views/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="disabled"><span>&laquo;</span></li>
<li class="disabled"><span>&lsaquo;</span></li>
@else
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">&laquo;</a></li>
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">&lsaquo;</a></li>
@endif

{{-- Pagination Elements --}}
Expand All @@ -28,9 +28,9 @@

{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">&raquo;</a></li>
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">&rsaquo;</a></li>
@else
<li class="disabled"><span>&raquo;</span></li>
<li class="disabled"><span>&rsaquo;</span></li>
@endif
</ul>
@endif

0 comments on commit 06c7160

Please sign in to comment.