diff --git a/views/seo-category/index.php b/views/seo-category/index.php
index 30c8de3..e0c4234 100755
--- a/views/seo-category/index.php
+++ b/views/seo-category/index.php
@@ -33,24 +33,41 @@
],
'status',
[
- 'class' => 'yii\grid\ActionColumn',
- 'template' => '{update} {image} {delete}',
- 'buttons' => [
- 'image' => function ($url, $model) {
- return Html::a(
- '',
- Url::toRoute(
- [
- 'seo-dynamic/index',
- 'seo_category_id' => $model->id,
- ]
- ),
+ 'class' => 'yii\grid\ActionColumn',
+ 'template' => '{update} {image} {delete}',
+ 'buttons' => [
+ 'update' => function ($url, $model)
+ {
+ return Html::a (
+ '',
+ Url::toRoute(['seo-category/update', 'id' => $model->id]),
[
- 'title' => \Yii::t('app', 'слайды'),
+ 'title' => "Редактировать",
+ ]
+ );
+ },
+ 'image' => function ($url, $model)
+ {
+ return Html::a (
+ '',
+ Url::toRoute(['seo-dynamic/index', 'seo_category_id' => $model->id]),
+ [
+ 'title' => "Список",
+ ]
+ );
+ },
+ 'delete' => function ($url, $model)
+ {
+ return Html::a (
+ '',
+ Url::toRoute(['seo-category/delete', 'id' => $model->id]),
+ [
+ 'title' => "Удалить",
]
);
},
],
+ 'contentOptions' => ['style' => 'width: 70px;'],
],
],
]
diff --git a/views/seo-dynamic/index.php b/views/seo-dynamic/index.php
index 3fdef4f..a9455bf 100755
--- a/views/seo-dynamic/index.php
+++ b/views/seo-dynamic/index.php
@@ -20,7 +20,7 @@
);
$this->params[ 'breadcrumbs' ][] = [
'label' => \Yii::t('app', 'Seo Categories'),
- 'url' => [ '/seo-category/index' ],
+ 'url' => [ '/seo/seo-category/index' ],
];
$this->params[ 'breadcrumbs' ][] = $this->title;
?>
--
libgit2 0.21.4