Commit 7feb8d17 authored by Shakarim Sapa's avatar Shakarim Sapa

- Вывели название шаблона сообщения

parent a355d0f6
......@@ -35,7 +35,13 @@ use yii\grid\GridView;
],
'date_create:datetime',
'timeout',
'message_template_id',
[
'attribute' => 'message_template_id',
'value' => function($model) {
/** @var $model common\modules\triggers\models\TriggerTrigger */
return $model->messageTemplate->name;
}
],
[
'class' => 'yii\grid\ActionColumn',
'template' => '{update}{delete}',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment