From 48001992ff6e5c455d816df7e030de5a04aaaa2d Mon Sep 17 00:00:00 2001 From: Leorne Date: Fri, 6 Dec 2019 11:30:11 +0300 Subject: [PATCH] view items translate --- .../settings/views/additional-fields/_form.php | 2 +- .../settings/views/additional-fields/view.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/modules/settings/views/additional-fields/_form.php b/backend/modules/settings/views/additional-fields/_form.php index d89afe1..9b600c2 100755 --- a/backend/modules/settings/views/additional-fields/_form.php +++ b/backend/modules/settings/views/additional-fields/_form.php @@ -17,7 +17,7 @@ use yii\widgets\ActiveForm; field($model, 'use')->checkboxList((new \common\models\UseField())->statuses); ?>
- 'btn btn-success']) ?> + 'btn btn-success']) ?>
diff --git a/backend/modules/settings/views/additional-fields/view.php b/backend/modules/settings/views/additional-fields/view.php index 9d43ddf..b1a3f97 100755 --- a/backend/modules/settings/views/additional-fields/view.php +++ b/backend/modules/settings/views/additional-fields/view.php @@ -7,22 +7,22 @@ use yii\widgets\DetailView; /* @var $model backend\modules\card\models\AdditionalFields */ $this->title = $model->name; -$this->params['breadcrumbs'][] = ['label' => 'Additional Fields', 'url' => ['index']]; +$this->params['breadcrumbs'][] = ['label' => 'Дополнительные поля', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>
-

title) ?>

-

- $model->id], ['class' => 'btn btn-primary']) ?> - $model->id], [ + $model->id], ['class' => 'btn btn-primary']) ?> + $model->id], [ 'class' => 'btn btn-danger', 'data' => [ - 'confirm' => 'Are you sure you want to delete this item?', + 'confirm' => 'Вы действительно хотите удалить поле?', 'method' => 'post', ], ]) ?> + $model->id], ['class' => 'btn btn-success']) ?> + $model->id], ['class' => 'btn btn-primary']) ?>