diff --git a/frontend/assets/AppAsset.php b/frontend/assets/AppAsset.php index 2c4e5b1..a23d0ca 100755 --- a/frontend/assets/AppAsset.php +++ b/frontend/assets/AppAsset.php @@ -12,11 +12,9 @@ public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ - 'css/site.css', 'css/animate.css', 'css/jquery-ui.min.css', 'css/jquery-ui.theme.min.css', - 'css/style.css', 'css/style.turquoise.css', 'css/owl.carousel.css', 'css/owl.theme.css', diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index 8ba8c45..07c0b08 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -217,8 +217,6 @@ ] ); - $this->view->params[ 'breadcrumbs' ][] = \Yii::t('app', 'Комментарии'); - return $this->render( 'comments', [ diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 28e1e98..aa6ada7 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -667,7 +667,8 @@ _________________________________________________________ --> 'label' => "".\Yii::t('app', 'Главная')."", 'url' => '/', 'itemprop' => 'item', - ] + ], + 'activeItemUrl' => \Yii::$app->request->getAbsoluteUrl(), ] ) ?> diff --git a/frontend/views/site/comments.php b/frontend/views/site/comments.php index c3fdc4a..0533401 100755 --- a/frontend/views/site/comments.php +++ b/frontend/views/site/comments.php @@ -8,7 +8,9 @@ * @var View $this * @var CommentModel $model */ - + + $this->params[ 'breadcrumbs' ][] = \Yii::t('app', 'Комментарии'); + ?>