Skip to content

Commit

Permalink
Merge branch 'LowerRockLabs-BulkActionsCount' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
rappasoft committed Jan 17, 2023
2 parents 7214613 + 9849983 commit f5ca949
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions resources/views/components/table/tr/bulk-actions.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
$colspan = $component->getColspanCount();
$selected = $component->getSelectedCount();
$selectAll = $component->selectAllIsEnabled();
$simplePagination = ($component->paginationMethod == "simple") ? true : false;
@endphp

@if ($theme === 'tailwind')
Expand All @@ -20,7 +21,7 @@ class="bg-indigo-50 dark:bg-gray-900 dark:text-white"
<div wire:key="all-selected-{{ $table }}">
<span>
@lang('You are currently selecting all')
<strong>{{ number_format($rows->total()) }}</strong>
@if(!$simplePagination) <strong>{{ number_format($rows->total()) }}</strong> @endif
@lang('rows').
</span>

Expand All @@ -39,7 +40,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
@lang('You have selected')
<strong>{{ $selected }}</strong>
@lang('rows, do you want to select all')
<strong>{{ number_format($rows->total()) }}</strong>?
@if(!$simplePagination) <strong>{{ number_format($rows->total()) }}</strong> @endif
</span>

<button
Expand Down Expand Up @@ -72,7 +73,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
<div wire:key="all-selected-{{ $table }}">
<span>
@lang('You are currently selecting all')
<strong>{{ number_format($rows->total()) }}</strong>
@if(!$simplePagination) <strong>{{ number_format($rows->total()) }}</strong> @endif
@lang('rows').
</span>

Expand All @@ -91,7 +92,7 @@ class="btn btn-primary btn-sm"
@lang('You have selected')
<strong>{{ $selected }}</strong>
@lang('rows, do you want to select all')
<strong>{{ number_format($rows->total()) }}</strong>?
@if(!$simplePagination) <strong>{{ number_format($rows->total()) }}</strong> @endif
</span>

<button
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/tools/toolbar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ class="form-select"
@endif

@if ($component->hasConfigurableAreaFor('toolbar-right-end'))
@include($component->getConfigurableAreaFor('toolbar-right-end'), $component->getParametersForConfigurableArea('toolbar-righ-end'))
@include($component->getConfigurableAreaFor('toolbar-right-end'), $component->getParametersForConfigurableArea('toolbar-right-end'))
@endif
</div>
</div>
Expand Down

0 comments on commit f5ca949

Please sign in to comment.