|
|
|
|
|
|
|
|
]) : ''); |
|
|
]) : ''); |
|
|
}, |
|
|
}, |
|
|
'update' => function ($url, $model) { |
|
|
'update' => function ($url, $model) { |
|
|
return ($model->isStatusDraft() ? Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, [ |
|
|
|
|
|
|
|
|
return Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, [ |
|
|
'title' => 'Modifier', 'class' => 'btn btn-default' |
|
|
'title' => 'Modifier', 'class' => 'btn btn-default' |
|
|
]) : ''); |
|
|
|
|
|
|
|
|
]); |
|
|
}, |
|
|
}, |
|
|
'delete' => function ($url, $model) { |
|
|
'delete' => function ($url, $model) { |
|
|
return ($model->isStatusDraft() ? Html::a('<span class="glyphicon glyphicon-trash"></span>', $url, [ |
|
|
return ($model->isStatusDraft() ? Html::a('<span class="glyphicon glyphicon-trash"></span>', $url, [ |