Test Setup Failed
Push — master ( 95bd70...48e609 )
by Xu
35:35
created
src/admin/UserItemController.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
         $model = new UserAuthItem(null);
82 82
         $model->type = $this->type;
83 83
         if ($model->load(Yii::$app->getRequest()->post()) && $model->save()) {
84
-            Yii::$app->getSession()->setFlash('success', Yii::t('yuncms','Create success.'));
84
+            Yii::$app->getSession()->setFlash('success', Yii::t('yuncms', 'Create success.'));
85 85
             return $this->redirect(['view', 'id' => $model->name]);
86 86
         } else {
87 87
             return $this->render('create', ['model' => $model]);
Please login to merge, or discard this patch.
src/admin/views/user-item/_form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 unset($rules[RouteRule::RULE_NAME]);
16 16
 ?>
17 17
 
18
-<?php $form = ActiveForm::begin(['layout' => 'horizontal',]); ?>
18
+<?php $form = ActiveForm::begin(['layout' => 'horizontal', ]); ?>
19 19
 <?= $form->field($model, 'name')->textInput(['maxlength' => 64]) ?>
20 20
 <div class="hr-line-dashed"></div>
21 21
 <?= $form->field($model, 'description')->textarea(['rows' => 2]) ?>
Please login to merge, or discard this patch.
src/admin/views/user-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.