@@ -70,14 +70,14 @@ |
||
| 70 | 70 | 'crontab_str', |
| 71 | 71 | [ |
| 72 | 72 | 'attribute' => 'switch', |
| 73 | - 'value' => function ($model) { |
|
| 73 | + 'value' => function($model) { |
|
| 74 | 74 | return $model->switch == Task::SWITCH_ACTIVE ? Yii::t('yuncms', 'Active') : Yii::t('yuncms', 'Disable'); |
| 75 | 75 | }, |
| 76 | 76 | 'label' => Yii::t('yuncms', 'Task Switch'), |
| 77 | 77 | ], |
| 78 | 78 | [ |
| 79 | 79 | 'attribute' => 'status', |
| 80 | - 'value' => function ($model) { |
|
| 80 | + 'value' => function($model) { |
|
| 81 | 81 | return $model->status == Task::STATUS_NORMAL ? Yii::t('yuncms', 'Normal') : Yii::t('yuncms', 'Saved'); |
| 82 | 82 | }, |
| 83 | 83 | 'label' => Yii::t('yuncms', 'Task Status'), |