Commit 5a7062ec02113c3fa20e91cf6168df887755c533

Authored by Timur Kastemirov
1 parent 9fa78a21

головна in breadcrumbs

common/messages/ru/app.php
... ... @@ -234,4 +234,5 @@ return [
234 234 // для отсылки на эмэйл
235 235  
236 236 "Submit comment" => "Отправить комментарий",
  237 + "Home" => "Главная",
237 238 ];
238 239 \ No newline at end of file
... ...
common/messages/ua/app.php
... ... @@ -235,4 +235,6 @@ return [
235 235  
236 236 // для отсылки на эмэйл
237 237  
  238 + "Home" => "Головна",
  239 +
238 240 ];
239 241 \ No newline at end of file
... ...
frontend/views/layouts/main.php
... ... @@ -748,6 +748,10 @@
748 748 <?= Breadcrumbs::widget(
749 749 [
750 750 'links' => isset($this->params[ 'breadcrumbs' ]) ? $this->params[ 'breadcrumbs' ] : [],
  751 + 'homeLink' => [
  752 + 'label' => \Yii::t('app', "Home"),
  753 + 'url' => \Yii::$app->homeUrl . \artbox\core\models\Language::getCurrent()->url
  754 + ]
751 755 ]
752 756 ) ?>
753 757  
... ...