File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
- @if ($paginationEnabled && $showPerPage )
1
+ @if ($paginationEnabled && $showPerPage && $rows -> lastPage () > 1 )
2
2
<div class =" row" >
3
3
<div class =" col-12 col-md-6" >
4
4
{{ $rows -> links () } }
12
12
] )
13
13
</div >
14
14
</div >
15
+ @else
16
+ <div class =" row" >
17
+ <div class =" col-12 text-muted" >
18
+ {!! __ (' Showing <strong>:count</strong> results' , [' count' => $rows -> count ()]) ! !}
19
+ </div >
20
+ </div >
15
21
@endif
Original file line number Diff line number Diff line change 1
- @if ($paginationEnabled && $showPerPage )
1
+ @if ($paginationEnabled && $showPerPage && $rows -> lastPage () > 1 )
2
2
<div class =" row" >
3
3
<div class =" col-12 col-md-6" >
4
4
{{ $rows -> links () } }
12
12
] )
13
13
</div >
14
14
</div >
15
+ @else
16
+ <div class =" row" >
17
+ <div class =" col-12 text-muted" >
18
+ {!! __ (' Showing <strong>:count</strong> results' , [' count' => $rows -> count ()]) ! !}
19
+ </div >
20
+ </div >
15
21
@endif
Original file line number Diff line number Diff line change 2
2
@if ($paginationEnabled && $showPerPage && $rows -> lastPage () > 1 )
3
3
{{ $rows -> links () } }
4
4
@else
5
- <p class =" text-sm text-gray-700 leading-5" >Showing {{ $rows -> count () } } results </p >
5
+ <p class =" text-sm text-gray-700 leading-5" >{!! __ ( ' Showing <span class="font-medium">:count</span> results ' , [ ' count ' => $rows -> count ()]) ! !} </p >
6
6
@endif
7
7
</div >
You can’t perform that action at this time.
0 commit comments