Skip to content

Commit

Permalink
Removed options of Kartik\GridView
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Nov 9, 2015
1 parent 95833df commit be9a2bb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/views/ticket/index.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
<?php

use hipanel\grid\ActionColumn;
use hipanel\grid\BoxedGridView;
use hipanel\modules\ticket\grid\TicketGridView;
use hipanel\modules\ticket\widgets\Topic;
use hipanel\widgets\ActionBox;
use hipanel\widgets\ClientSellerLink;
use hipanel\widgets\Gravatar;
use yii\helpers\Html;

$this->title = Yii::t('app', 'Tickets');
$this->params['breadcrumbs'][] = $this->title;
Expand Down Expand Up @@ -66,11 +60,9 @@

<?php $box->beginBulkForm() ?>
<?= TicketGridView::widget([
'id' => 'ticket-grid',
'dataProvider' => $dataProvider,
'filterModel' => $model,
'id' => 'ticket-grid',
'striped' => false,
'hover' => false,
'rowOptions' => function ($model, $key, $index, $grid) {
return ['class' => ($model['priority'] === 'high') ? 'bg-danger' : ''];
},
Expand Down

0 comments on commit be9a2bb

Please sign in to comment.