Test Setup Failed
Push — master ( c67291...e41eba )
by Xu
38:15
created
src/admin/views/menu/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
                     [
66 66
                         'class' => 'yuncms\grid\ActionColumn',
67 67
                         'template' => '{add} {view} {update} {delete}',
68
-                        'buttons' => ['add' => function ($url, $model, $key) {
68
+                        'buttons' => ['add' => function($url, $model, $key) {
69 69
                             return Html::a('<span class="fa fa-plus"></span>',
70 70
                                 Url::toRoute(['/admin/menu/create', 'parent' => $model->id]), [
71 71
                                     'title' => Yii::t('yuncms', 'Add subMenu'),
Please login to merge, or discard this patch.
src/admin/views/item/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
                         'attribute' => 'description',
82 82
                         'label' => Yii::t('yuncms', 'Role Description'),
83 83
                     ],
84
-                    ['class' => 'yuncms\grid\ActionColumn',],
84
+                    ['class' => 'yuncms\grid\ActionColumn', ],
85 85
                 ],
86 86
             ])
87 87
             ?>
Please login to merge, or discard this patch.
src/admin/views/admin/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                     'email:email',
55 55
                     [
56 56
                         'attribute' => 'status',
57
-                        'value' => function ($model) {
57
+                        'value' => function($model) {
58 58
                             return $model->status == Admin::STATUS_ACTIVE ? Yii::t('yuncms', 'Active') : Yii::t('yuncms', 'Disable');
59 59
                         },
60 60
                         'label' => Yii::t('yuncms', 'Status'),
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
                         'class' => 'yuncms\grid\ActionColumn',
67 67
                         'header' => Yii::t('yuncms', 'Operation'),
68 68
                         'template' => '{assignment} {view} {update} {delete}',
69
-                        'buttons' => ['assignment' => function ($url, $model, $key) {
69
+                        'buttons' => ['assignment' => function($url, $model, $key) {
70 70
                             return Html::a('<span class="glyphicon glyphicon-dashboard"></span>',
71 71
                                 Url::toRoute(['assignment/view', 'id' => $model->id]), [
72 72
                                     'title' => Yii::t('yuncms', 'Assignment'),
Please login to merge, or discard this patch.