Skip to content

Commit

Permalink
Fixed filter column template styles
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Feb 26, 2016
1 parent 2393146 commit 5a5fd60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/views/default/column/filter.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if ( ! is_null($value))
<a href="{{ $url }}" class="btn btn-link btn-outline">
<i class="fa {{ $icon }}" data-toggle="tooltip" title="{{ $title }}"></i>
<a href="{{ $url }}" class="btn btn-xs btn-default pull-right">
<i class="{{ $icon }}" data-toggle="tooltip" title="{{ $title }}"></i>
</a>
@endif
2 changes: 1 addition & 1 deletion src/Display/Column/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function isSelf()
public function toArray()
{
return parent::toArray() + [
'icon' => $this->isSelf() ? 'fa-filter' : 'fa-arrow-circle-o-right',
'icon' => $this->isSelf() ? 'fa fa-filter' : 'fa fa-arrow-circle-o-right',
'title' => $this->isSelf() ? trans('sleeping_owl::core.table.filter') : trans('sleeping_owl::core.table.filter-goto'),
'url' => $this->getUrl(),
'value' => $this->getModelValue($this->getModel(), $this->getField()),
Expand Down

0 comments on commit 5a5fd60

Please sign in to comment.