Commit 5a9f41f956b9c9626ce01673a074065d0a560c12
1 parent
c2c5e303
VItaliy 16.12.2015
added translate in admin
Showing
104 changed files
with
167 additions
and
166 deletions
Show diff stats
Too many changes.
To preserve performance only 100 of 104 files are displayed.
backend/views/accounts-vin/_form.php
@@ -29,7 +29,7 @@ use yii\widgets\ActiveForm; | @@ -29,7 +29,7 @@ use yii\widgets\ActiveForm; | ||
29 | <?= $form->field($model, 'timestamp')->textInput() ?> | 29 | <?= $form->field($model, 'timestamp')->textInput() ?> |
30 | 30 | ||
31 | <div class="form-group"> | 31 | <div class="form-group"> |
32 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 32 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
33 | </div> | 33 | </div> |
34 | 34 | ||
35 | <?php ActiveForm::end(); ?> | 35 | <?php ActiveForm::end(); ?> |
backend/views/accounts-vin/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\AccountsVin */ | 6 | /* @var $model common\models\AccountsVin */ |
7 | 7 | ||
8 | -$this->title = 'Update Accounts Vin: ' . ' ' . $model->account_id; | 8 | +$this->title = 'Редактировать Accounts Vin: ' . ' ' . $model->account_id; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Accounts Vins', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Accounts Vins', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->account_id, 'url' => ['view', 'account_id' => $model->account_id, 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->account_id, 'url' => ['view', 'account_id' => $model->account_id, 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="accounts-vin-update"> | 13 | <div class="accounts-vin-update"> |
14 | 14 |
backend/views/accounts-vin/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'account_id' => $model->account_id, 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'account_id' => $model->account_id, 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'account_id' => $model->account_id, 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'account_id' => $model->account_id, 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/accounts/_form.php
@@ -85,7 +85,7 @@ use kartik\date\DatePicker; | @@ -85,7 +85,7 @@ use kartik\date\DatePicker; | ||
85 | 85 | ||
86 | 86 | ||
87 | <div class="form-group"> | 87 | <div class="form-group"> |
88 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 88 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
89 | </div> | 89 | </div> |
90 | 90 | ||
91 | <?php ActiveForm::end(); ?> | 91 | <?php ActiveForm::end(); ?> |
backend/views/accounts/create.php
@@ -6,8 +6,8 @@ use yii\helpers\Html; | @@ -6,8 +6,8 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\Accounts */ | 7 | /* @var $model common\models\Accounts */ |
8 | 8 | ||
9 | -$this->title = 'Добавить Accounts'; | ||
10 | -$this->params['breadcrumbs'][] = ['label' => 'Accounts', 'url' => ['index']]; | 9 | +$this->title = 'Добавить Покупателя'; |
10 | +$this->params['breadcrumbs'][] = ['label' => 'Покупатели', 'url' => ['index']]; | ||
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
13 | <div class="Accounts-create"> | 13 | <div class="Accounts-create"> |
backend/views/accounts/index.php
@@ -7,7 +7,7 @@ use yii\grid\GridView; | @@ -7,7 +7,7 @@ use yii\grid\GridView; | ||
7 | /* @var $searchModel common\models\AccountsSearch */ | 7 | /* @var $searchModel common\models\AccountsSearch */ |
8 | /* @var $dataProvider yii\data\ActiveDataProvider */ | 8 | /* @var $dataProvider yii\data\ActiveDataProvider */ |
9 | 9 | ||
10 | -$this->title = 'Accounts'; | 10 | +$this->title = 'Покупатели'; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
13 | <div class="Accounts-index"> | 13 | <div class="Accounts-index"> |
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Добавить Accounts', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Покупателя', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/accounts/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Accounts */ | 6 | /* @var $model common\models\Accounts */ |
7 | 7 | ||
8 | -$this->title = 'Update Accounts: ' . ' ' . $model->name; | ||
9 | -$this->params['breadcrumbs'][] = ['label' => 'Accounts', 'url' => ['index']]; | 8 | +$this->title = 'Редактировать Покупателя: ' . ' ' . $model->name; |
9 | +$this->params['breadcrumbs'][] = ['label' => 'Покупатели', 'url' => ['index']]; | ||
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="Accounts-update"> | 13 | <div class="Accounts-update"> |
14 | 14 |
backend/views/accounts/view.php
@@ -7,7 +7,7 @@ use yii\widgets\DetailView; | @@ -7,7 +7,7 @@ use yii\widgets\DetailView; | ||
7 | /* @var $model common\models\Accounts */ | 7 | /* @var $model common\models\Accounts */ |
8 | 8 | ||
9 | $this->title = $model->name; | 9 | $this->title = $model->name; |
10 | -$this->params['breadcrumbs'][] = ['label' => 'Accounts', 'url' => ['index']]; | 10 | +$this->params['breadcrumbs'][] = ['label' => 'Пользователи', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
13 | <div class="Accounts-view"> | 13 | <div class="Accounts-view"> |
@@ -15,11 +15,11 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,11 +15,11 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | - 'confirm' => 'Are you sure you want to delete this item?', | 22 | + 'confirm' => 'Вы увереннны что хотите удалить этот элемент?', |
23 | 'method' => 'post', | 23 | 'method' => 'post', |
24 | ], | 24 | ], |
25 | ]) ?> | 25 | ]) ?> |
backend/views/art-history/_form.php
@@ -19,7 +19,7 @@ use yii\widgets\ActiveForm; | @@ -19,7 +19,7 @@ use yii\widgets\ActiveForm; | ||
19 | <?= $form->field($model, 'dt')->textInput(['maxlength' => true]) ?> | 19 | <?= $form->field($model, 'dt')->textInput(['maxlength' => true]) ?> |
20 | 20 | ||
21 | <div class="form-group"> | 21 | <div class="form-group"> |
22 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 22 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
23 | </div> | 23 | </div> |
24 | 24 | ||
25 | <?php ActiveForm::end(); ?> | 25 | <?php ActiveForm::end(); ?> |
backend/views/art-history/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\ArtHistory */ | 6 | /* @var $model common\models\ArtHistory */ |
7 | 7 | ||
8 | -$this->title = 'Update Art History: ' . ' ' . $model->id; | 8 | +$this->title = 'Редактировать Art History: ' . ' ' . $model->id; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Art Histories', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Art Histories', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="art-history-update"> | 13 | <div class="art-history-update"> |
14 | 14 |
backend/views/art-history/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/brands-replace/update.php
@@ -8,7 +8,7 @@ use yii\helpers\Html; | @@ -8,7 +8,7 @@ use yii\helpers\Html; | ||
8 | $this->title = 'Редактирование: ' . ' ' . $model->from_brand; | 8 | $this->title = 'Редактирование: ' . ' ' . $model->from_brand; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Brands Replaces', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Brands Replaces', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->from_brand, 'url' => ['view', 'from_brand' => $model->from_brand, 'to_brand' => $model->to_brand]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->from_brand, 'url' => ['view', 'from_brand' => $model->from_brand, 'to_brand' => $model->to_brand]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="brands-replace-update"> | 13 | <div class="brands-replace-update"> |
14 | 14 |
backend/views/brands/update.php
@@ -8,7 +8,7 @@ use yii\helpers\Html; | @@ -8,7 +8,7 @@ use yii\helpers\Html; | ||
8 | $this->title = 'Редактирование бренда: ' . ' ' . $model->BRAND; | 8 | $this->title = 'Редактирование бренда: ' . ' ' . $model->BRAND; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Brands', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Brands', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->BRAND, 'url' => ['view', 'id' => $model->BRAND]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->BRAND, 'url' => ['view', 'id' => $model->BRAND]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="brands-update"> | 13 | <div class="brands-update"> |
14 | 14 |
backend/views/brands/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->BRAND], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->BRAND], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->BRAND], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->BRAND], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/cart/_form.php
@@ -37,7 +37,7 @@ use yii\widgets\ActiveForm; | @@ -37,7 +37,7 @@ use yii\widgets\ActiveForm; | ||
37 | <?= $form->field($model, 'timestamp')->textInput() ?> | 37 | <?= $form->field($model, 'timestamp')->textInput() ?> |
38 | 38 | ||
39 | <div class="form-group"> | 39 | <div class="form-group"> |
40 | - <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 40 | + <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Редактировать'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
41 | </div> | 41 | </div> |
42 | 42 | ||
43 | <?php ActiveForm::end(); ?> | 43 | <?php ActiveForm::end(); ?> |
backend/views/cat/_form.php
@@ -21,7 +21,7 @@ use yii\widgets\ActiveForm; | @@ -21,7 +21,7 @@ use yii\widgets\ActiveForm; | ||
21 | <?= $form->field($model, 'parent_id')->textInput() ?> | 21 | <?= $form->field($model, 'parent_id')->textInput() ?> |
22 | 22 | ||
23 | <div class="form-group"> | 23 | <div class="form-group"> |
24 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 24 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
25 | </div> | 25 | </div> |
26 | 26 | ||
27 | <?php ActiveForm::end(); ?> | 27 | <?php ActiveForm::end(); ?> |
backend/views/cat/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Cat */ | 6 | /* @var $model common\models\Cat */ |
7 | 7 | ||
8 | -$this->title = 'Update Cat: ' . ' ' . $model->id; | 8 | +$this->title = 'Редактировать Cat: ' . ' ' . $model->id; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Cats', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Cats', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="cat-update"> | 13 | <div class="cat-update"> |
14 | 14 |
backend/views/cat/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/currency/update.php
@@ -8,7 +8,7 @@ use yii\helpers\Html; | @@ -8,7 +8,7 @@ use yii\helpers\Html; | ||
8 | $this->title = 'Обновить валюту: ' . ' ' . $model->name; | 8 | $this->title = 'Обновить валюту: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Currencies', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Currencies', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="currency-update"> | 13 | <div class="currency-update"> |
14 | 14 |
backend/views/currency/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/deliveries/_form.php
@@ -21,7 +21,7 @@ use yii\widgets\ActiveForm; | @@ -21,7 +21,7 @@ use yii\widgets\ActiveForm; | ||
21 | <?= $form->field($model, 'is_default')->textInput() ?> | 21 | <?= $form->field($model, 'is_default')->textInput() ?> |
22 | 22 | ||
23 | <div class="form-group"> | 23 | <div class="form-group"> |
24 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 24 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
25 | </div> | 25 | </div> |
26 | 26 | ||
27 | <?php ActiveForm::end(); ?> | 27 | <?php ActiveForm::end(); ?> |
backend/views/deliveries/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\Deliveries */ | 7 | /* @var $model common\models\Deliveries */ |
8 | 8 | ||
9 | -$this->title = 'Create Deliveries'; | 9 | +$this->title = 'Добавить Deliveries'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Deliveries', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Deliveries', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/deliveries/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Deliveries */ | 6 | /* @var $model common\models\Deliveries */ |
7 | 7 | ||
8 | -$this->title = 'Update Deliveries: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Deliveries: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Deliveries', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Deliveries', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="deliveries-update"> | 13 | <div class="deliveries-update"> |
14 | 14 |
backend/views/deliveries/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/details-crosses/_form.php
@@ -23,7 +23,7 @@ use yii\widgets\ActiveForm; | @@ -23,7 +23,7 @@ use yii\widgets\ActiveForm; | ||
23 | <?= $form->field($model, 'timestamp')->textInput() ?> | 23 | <?= $form->field($model, 'timestamp')->textInput() ?> |
24 | 24 | ||
25 | <div class="form-group"> | 25 | <div class="form-group"> |
26 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 26 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
27 | </div> | 27 | </div> |
28 | 28 | ||
29 | <?php ActiveForm::end(); ?> | 29 | <?php ActiveForm::end(); ?> |
backend/views/details-crosses/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\DetailsCrosses */ | 6 | /* @var $model common\models\DetailsCrosses */ |
7 | 7 | ||
8 | -$this->title = 'Update Details Crosses: ' . ' ' . $model->ARTICLE; | 8 | +$this->title = 'Редактировать Details Crosses: ' . ' ' . $model->ARTICLE; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Details Crosses', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Details Crosses', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->ARTICLE, 'url' => ['view', 'ARTICLE' => $model->ARTICLE, 'BRAND' => $model->BRAND, 'CROSS_BRAND' => $model->CROSS_BRAND, 'CROSS_ARTICLE' => $model->CROSS_ARTICLE]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->ARTICLE, 'url' => ['view', 'ARTICLE' => $model->ARTICLE, 'BRAND' => $model->BRAND, 'CROSS_BRAND' => $model->CROSS_BRAND, 'CROSS_ARTICLE' => $model->CROSS_ARTICLE]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="details-crosses-update"> | 13 | <div class="details-crosses-update"> |
14 | 14 |
backend/views/details-crosses/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'ARTICLE' => $model->ARTICLE, 'BRAND' => $model->BRAND, 'CROSS_BRAND' => $model->CROSS_BRAND, 'CROSS_ARTICLE' => $model->CROSS_ARTICLE], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'ARTICLE' => $model->ARTICLE, 'BRAND' => $model->BRAND, 'CROSS_BRAND' => $model->CROSS_BRAND, 'CROSS_ARTICLE' => $model->CROSS_ARTICLE], [ | 18 | + <?= Html::a('Редактировать', ['update', 'ARTICLE' => $model->ARTICLE, 'BRAND' => $model->BRAND, 'CROSS_BRAND' => $model->CROSS_BRAND, 'CROSS_ARTICLE' => $model->CROSS_ARTICLE], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'ARTICLE' => $model->ARTICLE, 'BRAND' => $model->BRAND, 'CROSS_BRAND' => $model->CROSS_BRAND, 'CROSS_ARTICLE' => $model->CROSS_ARTICLE], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/details-description/_form.php
@@ -37,7 +37,7 @@ use yii\widgets\ActiveForm; | @@ -37,7 +37,7 @@ use yii\widgets\ActiveForm; | ||
37 | <?= $form->field($model, 'timestamp')->textInput() ?> | 37 | <?= $form->field($model, 'timestamp')->textInput() ?> |
38 | 38 | ||
39 | <div class="form-group"> | 39 | <div class="form-group"> |
40 | - <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 40 | + <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Редактировать'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
41 | </div> | 41 | </div> |
42 | 42 | ||
43 | <?php ActiveForm::end(); ?> | 43 | <?php ActiveForm::end(); ?> |
backend/views/details/update.php
@@ -8,7 +8,7 @@ use yii\helpers\Html; | @@ -8,7 +8,7 @@ use yii\helpers\Html; | ||
8 | $this->title = 'Редактирование записи: ' . ' ' . $model->IMPORT_ID; | 8 | $this->title = 'Редактирование записи: ' . ' ' . $model->IMPORT_ID; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Details', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Details', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->IMPORT_ID, 'url' => ['view', 'IMPORT_ID' => $model->IMPORT_ID, 'BRAND' => $model->BRAND, 'ARTICLE' => $model->ARTICLE]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->IMPORT_ID, 'url' => ['view', 'IMPORT_ID' => $model->IMPORT_ID, 'BRAND' => $model->BRAND, 'ARTICLE' => $model->ARTICLE]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="details-update"> | 13 | <div class="details-update"> |
14 | 14 |
backend/views/details/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'IMPORT_ID' => $model->IMPORT_ID, 'BRAND' => $model->BRAND, 'ARTICLE' => $model->ARTICLE], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'IMPORT_ID' => $model->IMPORT_ID, 'BRAND' => $model->BRAND, 'ARTICLE' => $model->ARTICLE], [ | 18 | + <?= Html::a('Редактировать', ['update', 'IMPORT_ID' => $model->IMPORT_ID, 'BRAND' => $model->BRAND, 'ARTICLE' => $model->ARTICLE], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'IMPORT_ID' => $model->IMPORT_ID, 'BRAND' => $model->BRAND, 'ARTICLE' => $model->ARTICLE], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/dic-statuses/_form.php
@@ -23,7 +23,7 @@ use yii\widgets\ActiveForm; | @@ -23,7 +23,7 @@ use yii\widgets\ActiveForm; | ||
23 | <?= $form->field($model, 'if_mail')->textInput() ?> | 23 | <?= $form->field($model, 'if_mail')->textInput() ?> |
24 | 24 | ||
25 | <div class="form-group"> | 25 | <div class="form-group"> |
26 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 26 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
27 | </div> | 27 | </div> |
28 | 28 | ||
29 | <?php ActiveForm::end(); ?> | 29 | <?php ActiveForm::end(); ?> |
backend/views/dic-statuses/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\DicStatuses */ | 6 | /* @var $model common\models\DicStatuses */ |
7 | 7 | ||
8 | -$this->title = 'Update Dic Statuses: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Dic Statuses: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Dic Statuses', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Dic Statuses', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="dic-statuses-update"> | 13 | <div class="dic-statuses-update"> |
14 | 14 |
backend/views/dic-statuses/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/emails/_form.php
@@ -29,7 +29,7 @@ use yii\widgets\ActiveForm; | @@ -29,7 +29,7 @@ use yii\widgets\ActiveForm; | ||
29 | <?= $form->field($model, 'who_comment')->textInput(['maxlength' => true]) ?> | 29 | <?= $form->field($model, 'who_comment')->textInput(['maxlength' => true]) ?> |
30 | 30 | ||
31 | <div class="form-group"> | 31 | <div class="form-group"> |
32 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 32 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
33 | </div> | 33 | </div> |
34 | 34 | ||
35 | <?php ActiveForm::end(); ?> | 35 | <?php ActiveForm::end(); ?> |
backend/views/emails/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Emails */ | 6 | /* @var $model common\models\Emails */ |
7 | 7 | ||
8 | -$this->title = 'Update Emails: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Emails: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Emails', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Emails', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="emails-update"> | 13 | <div class="emails-update"> |
14 | 14 |
backend/views/emails/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/importers/_form.php
@@ -13,9 +13,10 @@ use common\models\Currency; | @@ -13,9 +13,10 @@ use common\models\Currency; | ||
13 | 13 | ||
14 | <?php $form = ActiveForm::begin(); ?> | 14 | <?php $form = ActiveForm::begin(); ?> |
15 | <div > | 15 | <div > |
16 | - <button ng-repeat="item in buttons" ng-click="ShowMe(item)" type="button" ng-class="item.status ? 'btn btn-primary btn-lg active' : 'btn btn-default btn-lg'" class=>{{item.data}}</button> | 16 | + <div class="btn btn-primary btn-lg active main_user_info">Основные данные</div> |
17 | + <div class="btn btn-default btn-lg entity">Юридическое лицо</div> | ||
17 | </div> | 18 | </div> |
18 | - <div ng-show="buttons[0].status" > | 19 | + <div id="main_user_info" > |
19 | <?= $form->field($model, 'code')->textInput(['maxlength' => true]) ?> | 20 | <?= $form->field($model, 'code')->textInput(['maxlength' => true]) ?> |
20 | 21 | ||
21 | <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> | 22 | <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> |
@@ -35,7 +36,7 @@ use common\models\Currency; | @@ -35,7 +36,7 @@ use common\models\Currency; | ||
35 | <?= $form->field($model, 'price_date_update')->textInput() ?> | 36 | <?= $form->field($model, 'price_date_update')->textInput() ?> |
36 | 37 | ||
37 | </div> | 38 | </div> |
38 | - <div ng-show="buttons[1].status" > | 39 | + <div id="entity"> |
39 | 40 | ||
40 | <?= $form->field($model, 'PARSER_COLUMN_COUNT')->textInput() ?> | 41 | <?= $form->field($model, 'PARSER_COLUMN_COUNT')->textInput() ?> |
41 | 42 | ||
@@ -63,7 +64,7 @@ use common\models\Currency; | @@ -63,7 +64,7 @@ use common\models\Currency; | ||
63 | </div> | 64 | </div> |
64 | 65 | ||
65 | <div class="form-group"> | 66 | <div class="form-group"> |
66 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 67 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
67 | </div> | 68 | </div> |
68 | 69 | ||
69 | <?php ActiveForm::end(); ?> | 70 | <?php ActiveForm::end(); ?> |
backend/views/importers/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model backend\models\Importers */ | 6 | /* @var $model backend\models\Importers */ |
7 | 7 | ||
8 | -$this->title = 'Update Importers: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Importers: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Importers', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Importers', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="importers-update"> | 13 | <div class="importers-update"> |
14 | 14 |
backend/views/importers/view.php
@@ -15,11 +15,11 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,11 +15,11 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | - 'confirm' => 'Are you sure you want to delete this item?', | 22 | + 'confirm' => 'Вы увереннны что хотите удалить этот элемент?', |
23 | 'method' => 'post', | 23 | 'method' => 'post', |
24 | ], | 24 | ], |
25 | ]) ?> | 25 | ]) ?> |
backend/views/manufacturers/_form.php
@@ -53,7 +53,7 @@ use yii\widgets\ActiveForm; | @@ -53,7 +53,7 @@ use yii\widgets\ActiveForm; | ||
53 | <?= $form->field($model, 'original_url')->textInput(['maxlength' => true]) ?> | 53 | <?= $form->field($model, 'original_url')->textInput(['maxlength' => true]) ?> |
54 | 54 | ||
55 | <div class="form-group"> | 55 | <div class="form-group"> |
56 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 56 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
57 | </div> | 57 | </div> |
58 | 58 | ||
59 | <?php ActiveForm::end(); ?> | 59 | <?php ActiveForm::end(); ?> |
backend/views/manufacturers/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Manufacturers */ | 6 | /* @var $model common\models\Manufacturers */ |
7 | 7 | ||
8 | -$this->title = 'Update Manufacturers: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Manufacturers: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Manufacturers', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Manufacturers', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->MFA_ID]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->MFA_ID]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="manufacturers-update"> | 13 | <div class="manufacturers-update"> |
14 | 14 |
backend/views/manufacturers/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->MFA_ID], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->MFA_ID], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->MFA_ID], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->MFA_ID], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/margins-groups/_form.php
@@ -21,7 +21,7 @@ use yii\helpers\ArrayHelper; | @@ -21,7 +21,7 @@ use yii\helpers\ArrayHelper; | ||
21 | 21 | ||
22 | 22 | ||
23 | <div class="form-group"> | 23 | <div class="form-group"> |
24 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 24 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
25 | </div> | 25 | </div> |
26 | 26 | ||
27 | <?php ActiveForm::end(); ?> | 27 | <?php ActiveForm::end(); ?> |
backend/views/margins-groups/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\MarginsGroups */ | 6 | /* @var $model common\models\MarginsGroups */ |
7 | 7 | ||
8 | -$this->title = 'Update Margins Groups: ' . ' ' . $model->id; | 8 | +$this->title = 'Редактировать Margins Groups: ' . ' ' . $model->id; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Margins Groups', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Margins Groups', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="margins-groups-update"> | 13 | <div class="margins-groups-update"> |
14 | 14 |
backend/views/margins-groups/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/margins-importers-import/_form.php
@@ -20,7 +20,7 @@ use \yii\helpers\ArrayHelper; | @@ -20,7 +20,7 @@ use \yii\helpers\ArrayHelper; | ||
20 | 20 | ||
21 | <?= $form->field($model, 'finish')->checkbox() ?> | 21 | <?= $form->field($model, 'finish')->checkbox() ?> |
22 | <div class="form-group"> | 22 | <div class="form-group"> |
23 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 23 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
24 | </div> | 24 | </div> |
25 | 25 | ||
26 | <?php ActiveForm::end(); ?> | 26 | <?php ActiveForm::end(); ?> |
backend/views/margins-importers-import/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\MarginsImportersImport */ | 6 | /* @var $model common\models\MarginsImportersImport */ |
7 | 7 | ||
8 | -$this->title = 'Update Margins Importers Import: ' . ' ' . $model->id; | 8 | +$this->title = 'Редактировать Margins Importers Import: ' . ' ' . $model->id; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Margins Importers Imports', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Margins Importers Imports', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="margins-importers-import-update"> | 13 | <div class="margins-importers-import-update"> |
14 | 14 |
backend/views/margins-importers-import/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/margins-importers/_form.php
@@ -19,7 +19,7 @@ use yii\helpers\ArrayHelper; | @@ -19,7 +19,7 @@ use yii\helpers\ArrayHelper; | ||
19 | <?= $form->field($model, 'koef')->textInput() ?> | 19 | <?= $form->field($model, 'koef')->textInput() ?> |
20 | 20 | ||
21 | <div class="form-group"> | 21 | <div class="form-group"> |
22 | - <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 22 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
23 | </div> | 23 | </div> |
24 | 24 | ||
25 | <?php ActiveForm::end(); ?> | 25 | <?php ActiveForm::end(); ?> |
backend/views/margins-importers/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\MarginsImporters */ | 6 | /* @var $model common\models\MarginsImporters */ |
7 | 7 | ||
8 | -$this->title = 'Update Margins Importers: ' . ' ' . $model->id; | 8 | +$this->title = 'Редактировать Margins Importers: ' . ' ' . $model->id; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Margins Importers', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Margins Importers', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="margins-importers-update"> | 13 | <div class="margins-importers-update"> |
14 | 14 |
backend/views/margins-importers/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/margins/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/news/_form.php
@@ -96,7 +96,7 @@ use mihaildev\elfinder\ElFinder; | @@ -96,7 +96,7 @@ use mihaildev\elfinder\ElFinder; | ||
96 | <?= $form->field($model, 'descr')->textInput(['maxlength' => true]) ?> | 96 | <?= $form->field($model, 'descr')->textInput(['maxlength' => true]) ?> |
97 | 97 | ||
98 | <div class="form-group"> | 98 | <div class="form-group"> |
99 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 99 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
100 | </div> | 100 | </div> |
101 | 101 | ||
102 | <?php ActiveForm::end(); ?> | 102 | <?php ActiveForm::end(); ?> |
backend/views/news/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\News */ | 7 | /* @var $model common\models\News */ |
8 | 8 | ||
9 | -$this->title = 'Create News'; | 9 | +$this->title = 'Добавить News'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/news/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create News', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить News', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/news/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\News */ | 6 | /* @var $model common\models\News */ |
7 | 7 | ||
8 | -$this->title = 'Update News: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать News: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="news-update"> | 13 | <div class="news-update"> |
14 | 14 |
backend/views/news/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/offices/_form.php
@@ -29,7 +29,7 @@ use yii\widgets\ActiveForm; | @@ -29,7 +29,7 @@ use yii\widgets\ActiveForm; | ||
29 | <?= $form->field($model, 'skype')->textInput(['maxlength' => true]) ?> | 29 | <?= $form->field($model, 'skype')->textInput(['maxlength' => true]) ?> |
30 | 30 | ||
31 | <div class="form-group"> | 31 | <div class="form-group"> |
32 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 32 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
33 | </div> | 33 | </div> |
34 | 34 | ||
35 | <?php ActiveForm::end(); ?> | 35 | <?php ActiveForm::end(); ?> |
backend/views/offices/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\Offices */ | 7 | /* @var $model common\models\Offices */ |
8 | 8 | ||
9 | -$this->title = 'Create Offices'; | 9 | +$this->title = 'Добавить Offices'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Offices', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Offices', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/offices/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create Offices', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Offices', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/offices/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Offices */ | 6 | /* @var $model common\models\Offices */ |
7 | 7 | ||
8 | -$this->title = 'Update Offices: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Offices: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Offices', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Offices', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="offices-update"> | 13 | <div class="offices-update"> |
14 | 14 |
backend/views/offices/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/page/_form.php
@@ -38,7 +38,7 @@ use mihaildev\elfinder\ElFinder; | @@ -38,7 +38,7 @@ use mihaildev\elfinder\ElFinder; | ||
38 | <?= $form->field($model, 'is_active')->checkbox() ?> | 38 | <?= $form->field($model, 'is_active')->checkbox() ?> |
39 | 39 | ||
40 | <div class="form-group"> | 40 | <div class="form-group"> |
41 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 41 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
42 | </div> | 42 | </div> |
43 | 43 | ||
44 | <?php ActiveForm::end(); ?> | 44 | <?php ActiveForm::end(); ?> |
backend/views/page/update.php
@@ -5,7 +5,7 @@ use yii\helpers\Html; | @@ -5,7 +5,7 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Page */ | 6 | /* @var $model common\models\Page */ |
7 | 7 | ||
8 | -$this->title = 'Update Page: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Page: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Текстовые страницы', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Текстовые страницы', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | $this->params['breadcrumbs'][] = 'Обновить'; | 11 | $this->params['breadcrumbs'][] = 'Обновить'; |
backend/views/partners/_form.php
@@ -21,7 +21,7 @@ use yii\widgets\ActiveForm; | @@ -21,7 +21,7 @@ use yii\widgets\ActiveForm; | ||
21 | <?= $form->field($model, 'sort')->textInput() ?> | 21 | <?= $form->field($model, 'sort')->textInput() ?> |
22 | 22 | ||
23 | <div class="form-group"> | 23 | <div class="form-group"> |
24 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 24 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
25 | </div> | 25 | </div> |
26 | 26 | ||
27 | <?php ActiveForm::end(); ?> | 27 | <?php ActiveForm::end(); ?> |
backend/views/partners/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\Partners */ | 7 | /* @var $model common\models\Partners */ |
8 | 8 | ||
9 | -$this->title = 'Create Partners'; | 9 | +$this->title = 'Добавить Partners'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/partners/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create Partners', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Partners', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/partners/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Partners */ | 6 | /* @var $model common\models\Partners */ |
7 | 7 | ||
8 | -$this->title = 'Update Partners: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Partners: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="partners-update"> | 13 | <div class="partners-update"> |
14 | 14 |
backend/views/partners/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/pay-messages/_form.php
@@ -21,7 +21,7 @@ use yii\widgets\ActiveForm; | @@ -21,7 +21,7 @@ use yii\widgets\ActiveForm; | ||
21 | <?= $form->field($model, 'user_id')->textInput() ?> | 21 | <?= $form->field($model, 'user_id')->textInput() ?> |
22 | 22 | ||
23 | <div class="form-group"> | 23 | <div class="form-group"> |
24 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 24 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
25 | </div> | 25 | </div> |
26 | 26 | ||
27 | <?php ActiveForm::end(); ?> | 27 | <?php ActiveForm::end(); ?> |
backend/views/pay-messages/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\PayMessages */ | 7 | /* @var $model common\models\PayMessages */ |
8 | 8 | ||
9 | -$this->title = 'Create Pay Messages'; | 9 | +$this->title = 'Добавить Pay Messages'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/pay-messages/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create Pay Messages', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Pay Messages', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/pay-messages/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\PayMessages */ | 6 | /* @var $model common\models\PayMessages */ |
7 | 7 | ||
8 | -$this->title = 'Update Pay Messages: ' . ' ' . $model->id; | 8 | +$this->title = 'Редактировать Pay Messages: ' . ' ' . $model->id; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="pay-messages-update"> | 13 | <div class="pay-messages-update"> |
14 | 14 |
backend/views/pay-messages/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/price-mailing/_form.php
@@ -19,7 +19,7 @@ use yii\widgets\ActiveForm; | @@ -19,7 +19,7 @@ use yii\widgets\ActiveForm; | ||
19 | <?= $form->field($model, 'price_id')->textInput() ?> | 19 | <?= $form->field($model, 'price_id')->textInput() ?> |
20 | 20 | ||
21 | <div class="form-group"> | 21 | <div class="form-group"> |
22 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 22 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
23 | </div> | 23 | </div> |
24 | 24 | ||
25 | <?php ActiveForm::end(); ?> | 25 | <?php ActiveForm::end(); ?> |
backend/views/price-mailing/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\PriceMailing */ | 7 | /* @var $model common\models\PriceMailing */ |
8 | 8 | ||
9 | -$this->title = 'Create Price Mailing'; | 9 | +$this->title = 'Добавить Price Mailing'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/price-mailing/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create Price Mailing', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Price Mailing', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/price-mailing/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\PriceMailing */ | 6 | /* @var $model common\models\PriceMailing */ |
7 | 7 | ||
8 | -$this->title = 'Update Price Mailing: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Price Mailing: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="price-mailing-update"> | 13 | <div class="price-mailing-update"> |
14 | 14 |
backend/views/price-mailing/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/settings-merchants-list/_form.php
@@ -23,7 +23,7 @@ use yii\widgets\ActiveForm; | @@ -23,7 +23,7 @@ use yii\widgets\ActiveForm; | ||
23 | <?= $form->field($model, 'mcode')->textInput(['maxlength' => true]) ?> | 23 | <?= $form->field($model, 'mcode')->textInput(['maxlength' => true]) ?> |
24 | 24 | ||
25 | <div class="form-group"> | 25 | <div class="form-group"> |
26 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 26 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
27 | </div> | 27 | </div> |
28 | 28 | ||
29 | <?php ActiveForm::end(); ?> | 29 | <?php ActiveForm::end(); ?> |
backend/views/settings-merchants-list/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\SettingsMerchantsList */ | 7 | /* @var $model common\models\SettingsMerchantsList */ |
8 | 8 | ||
9 | -$this->title = 'Create Settings Merchants List'; | 9 | +$this->title = 'Добавить Settings Merchants List'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/settings-merchants-list/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create Settings Merchants List', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Settings Merchants List', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/settings-merchants-list/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\SettingsMerchantsList */ | 6 | /* @var $model common\models\SettingsMerchantsList */ |
7 | 7 | ||
8 | -$this->title = 'Update Settings Merchants List: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Settings Merchants List: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="settings-merchants-list-update"> | 13 | <div class="settings-merchants-list-update"> |
14 | 14 |
backend/views/settings-merchants-list/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/slider/_form.php
@@ -29,7 +29,7 @@ use yii\widgets\ActiveForm; | @@ -29,7 +29,7 @@ use yii\widgets\ActiveForm; | ||
29 | <?= $form->field($model, 'sort')->textInput() ?> | 29 | <?= $form->field($model, 'sort')->textInput() ?> |
30 | 30 | ||
31 | <div class="form-group"> | 31 | <div class="form-group"> |
32 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 32 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
33 | </div> | 33 | </div> |
34 | 34 | ||
35 | <?php ActiveForm::end(); ?> | 35 | <?php ActiveForm::end(); ?> |
backend/views/slider/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\Slider */ | 7 | /* @var $model common\models\Slider */ |
8 | 8 | ||
9 | -$this->title = 'Create Slider'; | 9 | +$this->title = 'Добавить Slider'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/slider/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create Slider', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Slider', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/slider/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Slider */ | 6 | /* @var $model common\models\Slider */ |
7 | 7 | ||
8 | -$this->title = 'Update Slider: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Slider: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="slider-update"> | 13 | <div class="slider-update"> |
14 | 14 |
backend/views/slider/view.php
@@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,8 +15,8 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | 'confirm' => 'Are you sure you want to delete this item?', | 22 | 'confirm' => 'Are you sure you want to delete this item?', |
backend/views/team-group/_form.php
@@ -15,7 +15,7 @@ use yii\widgets\ActiveForm; | @@ -15,7 +15,7 @@ use yii\widgets\ActiveForm; | ||
15 | <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> | 15 | <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> |
16 | 16 | ||
17 | <div class="form-group"> | 17 | <div class="form-group"> |
18 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 18 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
19 | </div> | 19 | </div> |
20 | 20 | ||
21 | <?php ActiveForm::end(); ?> | 21 | <?php ActiveForm::end(); ?> |
backend/views/team-group/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\TeamGroup */ | 7 | /* @var $model common\models\TeamGroup */ |
8 | 8 | ||
9 | -$this->title = 'Create Team Group'; | 9 | +$this->title = 'Добавить Team Group'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/team-group/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create Team Group', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Team Group', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/team-group/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\TeamGroup */ | 6 | /* @var $model common\models\TeamGroup */ |
7 | 7 | ||
8 | -$this->title = 'Update Team Group: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Team Group: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="team-group-update"> | 13 | <div class="team-group-update"> |
14 | 14 |
backend/views/team-group/view.php
@@ -15,11 +15,11 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,11 +15,11 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | - 'confirm' => 'Are you sure you want to delete this item?', | 22 | + 'confirm' => 'Вы увереннны что хотите удалить этот элемент?', |
23 | 'method' => 'post', | 23 | 'method' => 'post', |
24 | ], | 24 | ], |
25 | ]) ?> | 25 | ]) ?> |
backend/views/team/_form.php
@@ -37,7 +37,7 @@ use \common\models\TeamGroup; | @@ -37,7 +37,7 @@ use \common\models\TeamGroup; | ||
37 | <?= $form->field($model, 'code')->textInput(['maxlength' => true]) ?> | 37 | <?= $form->field($model, 'code')->textInput(['maxlength' => true]) ?> |
38 | 38 | ||
39 | <div class="form-group"> | 39 | <div class="form-group"> |
40 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 40 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
41 | </div> | 41 | </div> |
42 | 42 | ||
43 | <?php ActiveForm::end(); ?> | 43 | <?php ActiveForm::end(); ?> |
backend/views/team/create.php
@@ -6,7 +6,7 @@ use yii\helpers\Html; | @@ -6,7 +6,7 @@ use yii\helpers\Html; | ||
6 | /* @var $this yii\web\View */ | 6 | /* @var $this yii\web\View */ |
7 | /* @var $model common\models\Team */ | 7 | /* @var $model common\models\Team */ |
8 | 8 | ||
9 | -$this->title = 'Create Team'; | 9 | +$this->title = 'Добавить Team'; |
10 | $this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']]; | 10 | $this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']]; |
11 | $this->params['breadcrumbs'][] = $this->title; | 11 | $this->params['breadcrumbs'][] = $this->title; |
12 | ?> | 12 | ?> |
backend/views/team/index.php
@@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> | 16 | <?php // echo $this->render('_search', ['model' => $searchModel]); ?> |
17 | 17 | ||
18 | <p> | 18 | <p> |
19 | - <?= Html::a('Create Team', ['create'], ['class' => 'btn btn-success']) ?> | 19 | + <?= Html::a('Добавить Team', ['create'], ['class' => 'btn btn-success']) ?> |
20 | </p> | 20 | </p> |
21 | 21 | ||
22 | <?= GridView::widget([ | 22 | <?= GridView::widget([ |
backend/views/team/update.php
@@ -5,10 +5,10 @@ use yii\helpers\Html; | @@ -5,10 +5,10 @@ use yii\helpers\Html; | ||
5 | /* @var $this yii\web\View */ | 5 | /* @var $this yii\web\View */ |
6 | /* @var $model common\models\Team */ | 6 | /* @var $model common\models\Team */ |
7 | 7 | ||
8 | -$this->title = 'Update Team: ' . ' ' . $model->name; | 8 | +$this->title = 'Редактировать Team: ' . ' ' . $model->name; |
9 | $this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']]; | 9 | $this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']]; |
10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; | 10 | $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; |
11 | -$this->params['breadcrumbs'][] = 'Update'; | 11 | +$this->params['breadcrumbs'][] = 'Редактировать'; |
12 | ?> | 12 | ?> |
13 | <div class="team-update"> | 13 | <div class="team-update"> |
14 | 14 |
backend/views/team/view.php
@@ -15,11 +15,11 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -15,11 +15,11 @@ $this->params['breadcrumbs'][] = $this->title; | ||
15 | <h1><?= Html::encode($this->title) ?></h1> | 15 | <h1><?= Html::encode($this->title) ?></h1> |
16 | 16 | ||
17 | <p> | 17 | <p> |
18 | - <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> | ||
19 | - <?= Html::a('Delete', ['delete', 'id' => $model->id], [ | 18 | + <?= Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?> |
19 | + <?= Html::a('Удалить', ['delete', 'id' => $model->id], [ | ||
20 | 'class' => 'btn btn-danger', | 20 | 'class' => 'btn btn-danger', |
21 | 'data' => [ | 21 | 'data' => [ |
22 | - 'confirm' => 'Are you sure you want to delete this item?', | 22 | + 'confirm' => 'Вы увереннны что хотите удалить этот элемент?', |
23 | 'method' => 'post', | 23 | 'method' => 'post', |
24 | ], | 24 | ], |
25 | ]) ?> | 25 | ]) ?> |
backend/views/user/_form.php
@@ -49,7 +49,7 @@ use yii\helpers\ArrayHelper; | @@ -49,7 +49,7 @@ use yii\helpers\ArrayHelper; | ||
49 | <?= $form->field($model, 'active')->textInput() ?> | 49 | <?= $form->field($model, 'active')->textInput() ?> |
50 | 50 | ||
51 | <div class="form-group"> | 51 | <div class="form-group"> |
52 | - <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> | 52 | + <?= Html::submitButton($model->isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?> |
53 | </div> | 53 | </div> |
54 | 54 | ||
55 | <?php ActiveForm::end(); ?> | 55 | <?php ActiveForm::end(); ?> |