From 56659d81b066646d344cf6afa42de196d734c97d Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Fri, 29 Sep 2017 12:36:41 +0300 Subject: [PATCH] О клинике --- frontend/views/site/about.php | 5 +++-- frontend/views/site/gallery.php | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/views/site/about.php b/frontend/views/site/about.php index 608df37..5d28981 100755 --- a/frontend/views/site/about.php +++ b/frontend/views/site/about.php @@ -10,8 +10,9 @@ * @var SeoComponent $seo * @var Page $page_stom */ - $seo = \Yii::$app->get('seo'); - $this->params[ 'breadcrumbs' ][] = $seo->title; +$seo = \Yii::$app->get('seo'); +$this->title = \Yii::t('app', 'О клинике'); +$this->params[ 'breadcrumbs' ][] = $this->title; ?>
diff --git a/frontend/views/site/gallery.php b/frontend/views/site/gallery.php index 8a78e3b..069e049 100755 --- a/frontend/views/site/gallery.php +++ b/frontend/views/site/gallery.php @@ -11,6 +11,9 @@ PhotoswipeAsset::register($this); +$seo = \Yii::$app->get('seo'); +$this->title = \Yii::t('app', 'Галерея'); +$this->params[ 'breadcrumbs' ][] = $this->title; ?>
-- libgit2 0.21.4