@aware([ 'tableName','isTailwind','isBootstrap','isBootstrap4','isBootstrap5']) @if ($this->isTailwind)
@if ($this->sortingPillsAreEnabled() && $this->hasSorts())
{{ __($this->getLocalisationPath.'Applied Sorting') }}: @foreach($this->getSorts() as $columnSelectName => $direction) @php($column = $this->getColumnBySelectName($columnSelectName) ?? $this->getColumnBySlug($columnSelectName)) @continue(is_null($column)) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && ! $this->columnSelectIsEnabledForColumn($column)) {{ $column->getSortingPillTitle() }}: {{ $column->getSortingPillDirectionLabel($direction, $this->getDefaultSortingLabelAsc, $this->getDefaultSortingLabelDesc) }} @endforeach
@endif
@elseif ($this->isBootstrap4)
@if ($this->sortingPillsAreEnabled() && $this->hasSorts())
{{ __($this->getLocalisationPath.'Applied Sorting') }}: @foreach($this->getSorts() as $columnSelectName => $direction) @php($column = $this->getColumnBySelectName($columnSelectName) ?? $this->getColumnBySlug($columnSelectName)) @continue(is_null($column)) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && ! $this->columnSelectIsEnabledForColumn($column)) {{ $column->getSortingPillTitle() }}: {{ $column->getSortingPillDirectionLabel($direction, $this->getDefaultSortingLabelAsc, $this->getDefaultSortingLabelDesc) }} {{ __($this->getLocalisationPath.'Remove sort option') }} @endforeach {{ __($this->getLocalisationPath.'Clear') }}
@endif
@elseif ($this->isBootstrap5)
@if ($this->sortingPillsAreEnabled() && $this->hasSorts())
{{ __($this->getLocalisationPath.'Applied Sorting') }}: @foreach($this->getSorts() as $columnSelectName => $direction) @php($column = $this->getColumnBySelectName($columnSelectName) ?? $this->getColumnBySlug($columnSelectName)) @continue(is_null($column)) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && ! $this->columnSelectIsEnabledForColumn($column)) {{ $column->getSortingPillTitle() }}: {{ $column->getSortingPillDirectionLabel($direction, $this->getDefaultSortingLabelAsc, $this->getDefaultSortingLabelDesc) }} {{ __($this->getLocalisationPath.'Remove sort option') }} @endforeach {{ __($this->getLocalisationPath.'Clear') }}
@endif
@endif