Skip to content

Commit

Permalink
Fix bs5: custom pagination (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev authored Nov 25, 2024
1 parent 382152b commit 8b946a8
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,23 @@ class="form-select {{ theme_style($theme, 'footer.select') }}"
</div>
<div class="col-auto overflow-auto mt-2 mt-sm-0">
@if (method_exists($data, 'links'))
{!! $data->links(data_get($setUp, 'footer.pagination') ?: data_get($theme, 'root') . '.pagination', [
{!! $data->links(data_get($theme, 'root') . '.pagination', [
'recordCount' => data_get($setUp, 'footer.recordCount'),
]) !!}
@endif
</div>
</footer>
@endif

@if (filled(data_get($setUp, 'footer.pagination')))
<footer>
@if (method_exists($data, 'links'))
{!! $data->links(data_get($setUp, 'footer.pagination'), [
'recordCount' => data_get($setUp, 'footer.recordCount'),
]) !!}
@endif
</footer>
@endif

@includeIf(data_get($setUp, 'footer.includeViewOnBottom'))
</div>

0 comments on commit 8b946a8

Please sign in to comment.