backend: add colors to event_type index.php; fix timetable dates
This commit is contained in:
@@ -16,7 +16,7 @@ if ( $permissions->allowCreate ){
|
||||
$indexTableTemplateButtons[] = '{update}';
|
||||
}
|
||||
$indexTableTemplateButtons[] = '{reserve-card}';
|
||||
$indexTableTemplateButtons[] = '{equipment-types-assignment}';
|
||||
//$indexTableTemplateButtons[] = '{equipment-types-assignment}';
|
||||
|
||||
|
||||
?>
|
||||
@@ -155,14 +155,14 @@ $indexTableTemplateButtons[] = '{equipment-types-assignment}';
|
||||
];
|
||||
return Html::a('<span class="glyphicon glyphicon-user"></span>', $url, $options);
|
||||
},
|
||||
'equipment-types-assignment' => function ($url, $model, $key) {
|
||||
$options = [
|
||||
'title' => Yii::t('yii', 'Equipment Types'),
|
||||
'aria-label' => Yii::t('yii', 'Equipment Types'),
|
||||
'data-pjax' => '0',
|
||||
];
|
||||
return Html::a('<span class="glyphicon glyphicon-wrench"></span>', $url, $options);
|
||||
}
|
||||
// 'equipment-types-assignment' => function ($url, $model, $key) {
|
||||
// $options = [
|
||||
// 'title' => Yii::t('yii', 'Equipment Types'),
|
||||
// 'aria-label' => Yii::t('yii', 'Equipment Types'),
|
||||
// 'data-pjax' => '0',
|
||||
// ];
|
||||
// return Html::a('<span class="glyphicon glyphicon-wrench"></span>', $url, $options);
|
||||
// }
|
||||
]
|
||||
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user