Skip to content

Commit

Permalink
translation and minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Sep 24, 2015
1 parent 90c8636 commit b578d04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/grid/TicketGridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 4 additions & 1 deletion src/models/Thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit b578d04

Please sign in to comment.