From a6ce84d741f255be19c0d513a24321f5f4e80e59 Mon Sep 17 00:00:00 2001 From: Anastasia Date: Fri, 31 Aug 2018 12:26:19 +0300 Subject: [PATCH] breadcrumbs --- frontend/views/layouts/main.php | 24 ++++++++++++++++++++---- frontend/views/page/view.php | 17 ++--------------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 730d906..310be07 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -208,10 +208,26 @@ JS;
- - - - + params['breadcrumbs'])){?> +
+
+
+ +
+
+
+ diff --git a/frontend/views/page/view.php b/frontend/views/page/view.php index 98fbe6a..22d65aa 100755 --- a/frontend/views/page/view.php +++ b/frontend/views/page/view.php @@ -15,23 +15,10 @@ * @var string $body */ $seo = \Yii::$app->get('seo'); - $this->params[ 'breadcrumbs' ][] = $seo->title; + $this->params[ 'breadcrumbs' ][] = ucfirst($model->language->title); ?> -
-
-
- -
-
-
+
-- libgit2 0.21.4