@extends('backend/layouts/default') {{-- Page title --}} @section('title') {{{ $accessory->name }}} @lang('general.accessory') :: @parent @stop {{-- Page content --}} @section('content')

{{{ $accessory->name }}} @lang('general.accessory')

@if ($accessory->users->count() > 0) {{ Datatable::table() ->addColumn(Lang::get('general.user'), Lang::get('table.actions')) ->setOptions( array( 'sAjaxSource'=>route('api.accessories.view', $accessory->id), 'dom' =>'T<"clear">lfrtip', 'tableTools' => array( 'sSwfPath'=> Config::get('app.url').'/assets/swf/copy_csv_xls_pdf.swf', 'aButtons'=>array( array( 'sExtends'=>'copy', ), 'print', array( 'sExtends'=>'collection', 'sButtonText'=>'Export', 'aButtons'=>array( array( 'sExtends'=>'csv', ), array( 'sExtends'=>'xls', ), array( 'sExtends'=>'pdf', ), ), ), ) ), 'columnDefs'=> array( array('bSortable'=>false,'targets'=>array(1)), array('width'=>'auto','targets'=>array(1)), ), 'order'=>array(array(0,'asc')), ) ) ->render() }} @else
@lang('general.no_results')
@endif


@lang('admin/accessories/general.about_accessories_title')

@lang('admin/accessories/general.about_accessories_text')

@stop