Commit 5a9f41f956b9c9626ce01673a074065d0a560c12

Authored by Administrator
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 29 <?= $form->field($model, 'timestamp')->textInput() ?>
30 30  
31 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 33 </div>
34 34  
35 35 <?php ActiveForm::end(); ?>
... ...
backend/views/accounts-vin/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 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 9 $this->params['breadcrumbs'][] = ['label' => 'Accounts Vins', 'url' => ['index']];
10 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 13 <div class="accounts-vin-update">
14 14  
... ...
backend/views/accounts-vin/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 85  
86 86  
87 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 89 </div>
90 90  
91 91 <?php ActiveForm::end(); ?>
... ...
backend/views/accounts/create.php
... ... @@ -6,8 +6,8 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 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 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="Accounts-create">
... ...
backend/views/accounts/index.php
... ... @@ -7,7 +7,7 @@ use yii\grid\GridView;
7 7 /* @var $searchModel common\models\AccountsSearch */
8 8 /* @var $dataProvider yii\data\ActiveDataProvider */
9 9  
10   -$this->title = 'Accounts';
  10 +$this->title = 'Покупатели';
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="Accounts-index">
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Добавить Accounts', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Покупателя', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/accounts/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 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 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="Accounts-update">
14 14  
... ...
backend/views/accounts/view.php
... ... @@ -7,7 +7,7 @@ use yii\widgets\DetailView;
7 7 /* @var $model common\models\Accounts */
8 8  
9 9 $this->title = $model->name;
10   -$this->params['breadcrumbs'][] = ['label' => 'Accounts', 'url' => ['index']];
  10 +$this->params['breadcrumbs'][] = ['label' => 'Пользователи', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="Accounts-view">
... ... @@ -15,11 +15,11 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22   - 'confirm' => 'Are you sure you want to delete this item?',
  22 + 'confirm' => 'Вы увереннны что хотите удалить этот элемент?',
23 23 'method' => 'post',
24 24 ],
25 25 ]) ?>
... ...
backend/views/art-history/_form.php
... ... @@ -19,7 +19,7 @@ use yii\widgets\ActiveForm;
19 19 <?= $form->field($model, 'dt')->textInput(['maxlength' => true]) ?>
20 20  
21 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 23 </div>
24 24  
25 25 <?php ActiveForm::end(); ?>
... ...
backend/views/art-history/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\ArtHistory */
7 7  
8   -$this->title = 'Update Art History: ' . ' ' . $model->id;
  8 +$this->title = 'Редактировать Art History: ' . ' ' . $model->id;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Art Histories', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="art-history-update">
14 14  
... ...
backend/views/art-history/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 8 $this->title = 'Редактирование: ' . ' ' . $model->from_brand;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Brands Replaces', 'url' => ['index']];
10 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 13 <div class="brands-replace-update">
14 14  
... ...
backend/views/brands/update.php
... ... @@ -8,7 +8,7 @@ use yii\helpers\Html;
8 8 $this->title = 'Редактирование бренда: ' . ' ' . $model->BRAND;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Brands', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->BRAND, 'url' => ['view', 'id' => $model->BRAND]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="brands-update">
14 14  
... ...
backend/views/brands/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 37 <?= $form->field($model, 'timestamp')->textInput() ?>
38 38  
39 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 41 </div>
42 42  
43 43 <?php ActiveForm::end(); ?>
... ...
backend/views/cat/_form.php
... ... @@ -21,7 +21,7 @@ use yii\widgets\ActiveForm;
21 21 <?= $form->field($model, 'parent_id')->textInput() ?>
22 22  
23 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 25 </div>
26 26  
27 27 <?php ActiveForm::end(); ?>
... ...
backend/views/cat/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Cat */
7 7  
8   -$this->title = 'Update Cat: ' . ' ' . $model->id;
  8 +$this->title = 'Редактировать Cat: ' . ' ' . $model->id;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Cats', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="cat-update">
14 14  
... ...
backend/views/cat/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 8 $this->title = 'Обновить валюту: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Currencies', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="currency-update">
14 14  
... ...
backend/views/currency/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 21 <?= $form->field($model, 'is_default')->textInput() ?>
22 22  
23 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 25 </div>
26 26  
27 27 <?php ActiveForm::end(); ?>
... ...
backend/views/deliveries/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\Deliveries */
8 8  
9   -$this->title = 'Create Deliveries';
  9 +$this->title = 'Добавить Deliveries';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Deliveries', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/deliveries/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Deliveries */
7 7  
8   -$this->title = 'Update Deliveries: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Deliveries: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Deliveries', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="deliveries-update">
14 14  
... ...
backend/views/deliveries/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 23 <?= $form->field($model, 'timestamp')->textInput() ?>
24 24  
25 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 27 </div>
28 28  
29 29 <?php ActiveForm::end(); ?>
... ...
backend/views/details-crosses/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\DetailsCrosses */
7 7  
8   -$this->title = 'Update Details Crosses: ' . ' ' . $model->ARTICLE;
  8 +$this->title = 'Редактировать Details Crosses: ' . ' ' . $model->ARTICLE;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Details Crosses', 'url' => ['index']];
10 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 13 <div class="details-crosses-update">
14 14  
... ...
backend/views/details-crosses/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 37 <?= $form->field($model, 'timestamp')->textInput() ?>
38 38  
39 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 41 </div>
42 42  
43 43 <?php ActiveForm::end(); ?>
... ...
backend/views/details/update.php
... ... @@ -8,7 +8,7 @@ use yii\helpers\Html;
8 8 $this->title = 'Редактирование записи: ' . ' ' . $model->IMPORT_ID;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Details', 'url' => ['index']];
10 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 13 <div class="details-update">
14 14  
... ...
backend/views/details/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 23 <?= $form->field($model, 'if_mail')->textInput() ?>
24 24  
25 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 27 </div>
28 28  
29 29 <?php ActiveForm::end(); ?>
... ...
backend/views/dic-statuses/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\DicStatuses */
7 7  
8   -$this->title = 'Update Dic Statuses: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Dic Statuses: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Dic Statuses', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="dic-statuses-update">
14 14  
... ...
backend/views/dic-statuses/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 29 <?= $form->field($model, 'who_comment')->textInput(['maxlength' => true]) ?>
30 30  
31 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 33 </div>
34 34  
35 35 <?php ActiveForm::end(); ?>
... ...
backend/views/emails/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Emails */
7 7  
8   -$this->title = 'Update Emails: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Emails: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Emails', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="emails-update">
14 14  
... ...
backend/views/emails/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 13  
14 14 <?php $form = ActiveForm::begin(); ?>
15 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 18 </div>
18   - <div ng-show="buttons[0].status" >
  19 + <div id="main_user_info" >
19 20 <?= $form->field($model, 'code')->textInput(['maxlength' => true]) ?>
20 21  
21 22 <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
... ... @@ -35,7 +36,7 @@ use common\models\Currency;
35 36 <?= $form->field($model, 'price_date_update')->textInput() ?>
36 37  
37 38 </div>
38   - <div ng-show="buttons[1].status" >
  39 + <div id="entity">
39 40  
40 41 <?= $form->field($model, 'PARSER_COLUMN_COUNT')->textInput() ?>
41 42  
... ... @@ -63,7 +64,7 @@ use common\models\Currency;
63 64 </div>
64 65  
65 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 68 </div>
68 69  
69 70 <?php ActiveForm::end(); ?>
... ...
backend/views/importers/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model backend\models\Importers */
7 7  
8   -$this->title = 'Update Importers: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Importers: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Importers', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="importers-update">
14 14  
... ...
backend/views/importers/view.php
... ... @@ -15,11 +15,11 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22   - 'confirm' => 'Are you sure you want to delete this item?',
  22 + 'confirm' => 'Вы увереннны что хотите удалить этот элемент?',
23 23 'method' => 'post',
24 24 ],
25 25 ]) ?>
... ...
backend/views/manufacturers/_form.php
... ... @@ -53,7 +53,7 @@ use yii\widgets\ActiveForm;
53 53 <?= $form->field($model, 'original_url')->textInput(['maxlength' => true]) ?>
54 54  
55 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 57 </div>
58 58  
59 59 <?php ActiveForm::end(); ?>
... ...
backend/views/manufacturers/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Manufacturers */
7 7  
8   -$this->title = 'Update Manufacturers: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Manufacturers: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Manufacturers', 'url' => ['index']];
10 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 13 <div class="manufacturers-update">
14 14  
... ...
backend/views/manufacturers/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 21  
22 22  
23 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 25 </div>
26 26  
27 27 <?php ActiveForm::end(); ?>
... ...
backend/views/margins-groups/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\MarginsGroups */
7 7  
8   -$this->title = 'Update Margins Groups: ' . ' ' . $model->id;
  8 +$this->title = 'Редактировать Margins Groups: ' . ' ' . $model->id;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Margins Groups', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="margins-groups-update">
14 14  
... ...
backend/views/margins-groups/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 20  
21 21 <?= $form->field($model, 'finish')->checkbox() ?>
22 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 24 </div>
25 25  
26 26 <?php ActiveForm::end(); ?>
... ...
backend/views/margins-importers-import/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 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 9 $this->params['breadcrumbs'][] = ['label' => 'Margins Importers Imports', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="margins-importers-import-update">
14 14  
... ...
backend/views/margins-importers-import/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 19 <?= $form->field($model, 'koef')->textInput() ?>
20 20  
21 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 23 </div>
24 24  
25 25 <?php ActiveForm::end(); ?>
... ...
backend/views/margins-importers/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\MarginsImporters */
7 7  
8   -$this->title = 'Update Margins Importers: ' . ' ' . $model->id;
  8 +$this->title = 'Редактировать Margins Importers: ' . ' ' . $model->id;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Margins Importers', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="margins-importers-update">
14 14  
... ...
backend/views/margins-importers/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 22 'confirm' => 'Are you sure you want to delete this item?',
... ...
backend/views/margins/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 96 <?= $form->field($model, 'descr')->textInput(['maxlength' => true]) ?>
97 97  
98 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 100 </div>
101 101  
102 102 <?php ActiveForm::end(); ?>
... ...
backend/views/news/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\News */
8 8  
9   -$this->title = 'Create News';
  9 +$this->title = 'Добавить News';
10 10 $this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/news/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Create News', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить News', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/news/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\News */
7 7  
8   -$this->title = 'Update News: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать News: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'News', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="news-update">
14 14  
... ...
backend/views/news/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 29 <?= $form->field($model, 'skype')->textInput(['maxlength' => true]) ?>
30 30  
31 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 33 </div>
34 34  
35 35 <?php ActiveForm::end(); ?>
... ...
backend/views/offices/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\Offices */
8 8  
9   -$this->title = 'Create Offices';
  9 +$this->title = 'Добавить Offices';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Offices', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/offices/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Create Offices', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Offices', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/offices/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Offices */
7 7  
8   -$this->title = 'Update Offices: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Offices: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Offices', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="offices-update">
14 14  
... ...
backend/views/offices/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 38 <?= $form->field($model, 'is_active')->checkbox() ?>
39 39  
40 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 42 </div>
43 43  
44 44 <?php ActiveForm::end(); ?>
... ...
backend/views/page/update.php
... ... @@ -5,7 +5,7 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Page */
7 7  
8   -$this->title = 'Update Page: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Page: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Текстовые страницы', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11 11 $this->params['breadcrumbs'][] = 'Обновить';
... ...
backend/views/partners/_form.php
... ... @@ -21,7 +21,7 @@ use yii\widgets\ActiveForm;
21 21 <?= $form->field($model, 'sort')->textInput() ?>
22 22  
23 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 25 </div>
26 26  
27 27 <?php ActiveForm::end(); ?>
... ...
backend/views/partners/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\Partners */
8 8  
9   -$this->title = 'Create Partners';
  9 +$this->title = 'Добавить Partners';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/partners/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Create Partners', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Partners', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/partners/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Partners */
7 7  
8   -$this->title = 'Update Partners: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Partners: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Partners', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="partners-update">
14 14  
... ...
backend/views/partners/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 21 <?= $form->field($model, 'user_id')->textInput() ?>
22 22  
23 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 25 </div>
26 26  
27 27 <?php ActiveForm::end(); ?>
... ...
backend/views/pay-messages/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\PayMessages */
8 8  
9   -$this->title = 'Create Pay Messages';
  9 +$this->title = 'Добавить Pay Messages';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/pay-messages/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Create Pay Messages', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Pay Messages', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/pay-messages/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\PayMessages */
7 7  
8   -$this->title = 'Update Pay Messages: ' . ' ' . $model->id;
  8 +$this->title = 'Редактировать Pay Messages: ' . ' ' . $model->id;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Pay Messages', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="pay-messages-update">
14 14  
... ...
backend/views/pay-messages/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 19 <?= $form->field($model, 'price_id')->textInput() ?>
20 20  
21 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 23 </div>
24 24  
25 25 <?php ActiveForm::end(); ?>
... ...
backend/views/price-mailing/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\PriceMailing */
8 8  
9   -$this->title = 'Create Price Mailing';
  9 +$this->title = 'Добавить Price Mailing';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/price-mailing/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Create Price Mailing', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Price Mailing', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/price-mailing/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\PriceMailing */
7 7  
8   -$this->title = 'Update Price Mailing: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Price Mailing: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Price Mailings', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="price-mailing-update">
14 14  
... ...
backend/views/price-mailing/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 23 <?= $form->field($model, 'mcode')->textInput(['maxlength' => true]) ?>
24 24  
25 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 27 </div>
28 28  
29 29 <?php ActiveForm::end(); ?>
... ...
backend/views/settings-merchants-list/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\SettingsMerchantsList */
8 8  
9   -$this->title = 'Create Settings Merchants List';
  9 +$this->title = 'Добавить Settings Merchants List';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/settings-merchants-list/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 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 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/settings-merchants-list/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 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 9 $this->params['breadcrumbs'][] = ['label' => 'Settings Merchants Lists', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="settings-merchants-list-update">
14 14  
... ...
backend/views/settings-merchants-list/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 29 <?= $form->field($model, 'sort')->textInput() ?>
30 30  
31 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 33 </div>
34 34  
35 35 <?php ActiveForm::end(); ?>
... ...
backend/views/slider/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\Slider */
8 8  
9   -$this->title = 'Create Slider';
  9 +$this->title = 'Добавить Slider';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/slider/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Create Slider', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Slider', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/slider/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Slider */
7 7  
8   -$this->title = 'Update Slider: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Slider: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Sliders', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="slider-update">
14 14  
... ...
backend/views/slider/view.php
... ... @@ -15,8 +15,8 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22 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 15 <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
16 16  
17 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 19 </div>
20 20  
21 21 <?php ActiveForm::end(); ?>
... ...
backend/views/team-group/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\TeamGroup */
8 8  
9   -$this->title = 'Create Team Group';
  9 +$this->title = 'Добавить Team Group';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/team-group/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Create Team Group', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Team Group', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/team-group/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\TeamGroup */
7 7  
8   -$this->title = 'Update Team Group: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Team Group: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="team-group-update">
14 14  
... ...
backend/views/team-group/view.php
... ... @@ -15,11 +15,11 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22   - 'confirm' => 'Are you sure you want to delete this item?',
  22 + 'confirm' => 'Вы увереннны что хотите удалить этот элемент?',
23 23 'method' => 'post',
24 24 ],
25 25 ]) ?>
... ...
backend/views/team/_form.php
... ... @@ -37,7 +37,7 @@ use \common\models\TeamGroup;
37 37 <?= $form->field($model, 'code')->textInput(['maxlength' => true]) ?>
38 38  
39 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 41 </div>
42 42  
43 43 <?php ActiveForm::end(); ?>
... ...
backend/views/team/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\Team */
8 8  
9   -$this->title = 'Create Team';
  9 +$this->title = 'Добавить Team';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/team/index.php
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Create Team', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Team', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/team/update.php
... ... @@ -5,10 +5,10 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Team */
7 7  
8   -$this->title = 'Update Team: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать Team: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11   -$this->params['breadcrumbs'][] = 'Update';
  11 +$this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
13 13 <div class="team-update">
14 14  
... ...
backend/views/team/view.php
... ... @@ -15,11 +15,11 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
15 15 <h1><?= Html::encode($this->title) ?></h1>
16 16  
17 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 20 'class' => 'btn btn-danger',
21 21 'data' => [
22   - 'confirm' => 'Are you sure you want to delete this item?',
  22 + 'confirm' => 'Вы увереннны что хотите удалить этот элемент?',
23 23 'method' => 'post',
24 24 ],
25 25 ]) ?>
... ...
backend/views/user/_form.php
... ... @@ -49,7 +49,7 @@ use yii\helpers\ArrayHelper;
49 49 <?= $form->field($model, 'active')->textInput() ?>
50 50  
51 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 53 </div>
54 54  
55 55 <?php ActiveForm::end(); ?>
... ...