Skip to content

Commit

Permalink
Removes sorting from actions column. Fixes #56
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondmorris committed Dec 2, 2013
1 parent 1f2b3f8 commit c11510f
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions app/views/backend/categories/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<thead>
<tr role="row">
<th class="col-md-7">@lang('admin/categories/table.title')</th>
<th class="col-md-2">@lang('table.actions')</th>
<th class="col-md-2 actions">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -57,4 +57,4 @@
</div>
</div>
</div>
@stop
@stop
4 changes: 2 additions & 2 deletions app/views/backend/depreciations/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<tr role="row">
<th class="col-md-4">@lang('admin/depreciations/table.title')</th>
<th class="col-md-2">@lang('admin/depreciations/table.term')</th>
<th class="col-md-2">@lang('table.actions')</th>
<th class="col-md-2 actions">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -57,4 +57,4 @@
</div>
</div>
</div>
@stop
@stop
2 changes: 1 addition & 1 deletion app/views/backend/groups/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<th class="col-md-6">@lang('admin/groups/table.name')</th>
<th class="col-md-1">@lang('admin/groups/table.users')</th>
<th class="col-md-2">@lang('admin/groups/table.created_at')</th>
<th class="col-md-3">@lang('table.actions')</th>
<th class="col-md-3 actions">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/views/backend/hardware/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
@endif

<th class="col-md-1">@lang('admin/hardware/table.change')</th>
<th class="col-md-2" bSortable="false">@lang('table.actions')</th>
<th class="col-md-2 actions" bSortable="false">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down
3 changes: 2 additions & 1 deletion app/views/backend/layouts/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@
$('#example').dataTable({
"sPaginationType": "full_numbers",
"iDisplayLength": {{ Setting::getSettings()->per_page }},
"aLengthMenu": [[{{ Setting::getSettings()->per_page }}, -1], [{{ Setting::getSettings()->per_page }}, "All"]]
"aLengthMenu": [[{{ Setting::getSettings()->per_page }}, -1], [{{ Setting::getSettings()->per_page }}, "All"]],
"aoColumnDefs": [{ 'bSortable': false, 'aTargets': [ 'actions' ] }]
});
});
Expand Down
2 changes: 1 addition & 1 deletion app/views/backend/licenses/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<th class="col-md-3" tabindex="0" rowspan="1" colspan="1">@lang('admin/licenses/table.title')</th>
<th class="col-md-3" tabindex="0" rowspan="1" colspan="1">@lang('admin/licenses/table.serial')</th>
<th class="col-md-3" tabindex="0" rowspan="1" colspan="1">@lang('admin/licenses/table.assigned_to')</th>
<th class="col-md-2" tabindex="0" rowspan="1" colspan="1">@lang('table.actions')</th>
<th class="col-md-2 actions" tabindex="0" rowspan="1" colspan="1">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/views/backend/locations/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<th class="col-md-2">@lang('admin/locations/table.city'),
@lang('admin/locations/table.state')
@lang('admin/locations/table.country')</th>
<th class="col-md-2">@lang('table.actions')</th>
<th class="col-md-2 actions">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/views/backend/manufacturers/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<thead>
<tr role="row">
<th class="col-md-7">@lang('admin/manufacturers/table.title')</th>
<th class="col-md-2">@lang('table.actions')</th>
<th class="col-md-2 actions">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/views/backend/models/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<th class="col-md-1">@lang('admin/models/table.numassets')</th>
<th class="col-md-2">Depreciation</th>
<th class="col-md-2">Category</th>
<th class="col-md-2">@lang('table.actions')</th>
<th class="col-md-2 actions">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/views/backend/statuslabels/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<thead>
<tr role="row">
<th class="col-md-4">@lang('admin/statuslabels/table.name')</th>
<th class="col-md-2">@lang('table.actions')</th>
<th class="col-md-2 actions">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/views/backend/users/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<th class="col-md-1">Assets</th>
<th class="col-md-1">Licenses</th>
<th class="col-md-1">@lang('admin/users/table.activated')</th>
<th class="col-md-2">@lang('table.actions')</th>
<th class="col-md-2 actions">@lang('table.actions')</th>
</tr>
</thead>
<tbody>
Expand Down

0 comments on commit c11510f

Please sign in to comment.