Skip to content

Commit

Permalink
close #622 Fixed: If the app use pagination, It not change title.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Nov 12, 2018
1 parent f029858 commit f8566a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/partials/admin/pagination.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@if ($items->firstItem())
<div class="pull-left" style="margin-top: 7px;">
<small>{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower(trans_choice('general.' . $type, 2))]) }}</small>
<small>{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower((isset($title)) ? $title : trans_choice('general.' . $type, 2))]) }}</small>
</div>
<div class="pull-right">
{!! $items->appends(request()->except('page'))->links() !!}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/customer/pagination.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@if ($items->firstItem())
<div class="pull-left" style="margin-top: 7px;">
<small>{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower(trans_choice('general.' . $type, 2))]) }}</small>
<small>{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower((isset($title)) ? $title : trans_choice('general.' . $type, 2))]) }}</small>
</div>
<div class="pull-right">
{!! $items->appends(request()->except('page'))->links() !!}
Expand Down

0 comments on commit f8566a7

Please sign in to comment.