diff --git a/src/grid/TicketGridView.php b/src/grid/TicketGridView.php index 65312f0..18b2eb0 100644 --- a/src/grid/TicketGridView.php +++ b/src/grid/TicketGridView.php @@ -20,6 +20,7 @@ public static function defaultColumns() 'subject' => [ 'attribute' => 'subject', 'format' => 'raw', + 'filterInputOptions' => ['style' => 'width:100%', 'class' => 'form-control'], 'value' => function ($data) { $ava = Html::tag('div', Gravatar::widget([ 'emailHash' => $data->author_email, diff --git a/src/models/Thread.php b/src/models/Thread.php index 685a765..622f4b1 100644 --- a/src/models/Thread.php +++ b/src/models/Thread.php @@ -163,9 +163,12 @@ public function rules() public function attributeLabels() { return $this->mergeAttributeLabels([ + 'author' => Yii::t('app', 'Author'), + 'author_id' => Yii::t('app', 'Author'), + 'recepient' => Yii::t('app', 'Recepient'), 'is_private' => Yii::t('app', 'Make private'), 'responsible' => Yii::t('app', 'Assignee'), - 'responsible_id' => Yii::t('app', 'Assignee ID'), + 'responsible_id' => Yii::t('app', 'Assignee'), 'author_seller' => Yii::t('app', 'Seller'), 'spent' => Yii::t('app', 'Spent time'), 'create_time' => Yii::t('app', 'Created'),