|
|
@@ -16,6 +16,8 @@ use common\helpers\Url; |
|
|
|
\common\assets\CommonAsset::register($this); |
|
|
|
\backend\assets\AppAsset::register($this); |
|
|
|
|
|
|
|
$producer = Etablissement::findOne(Yii::$app->user->identity->id_etablissement) ; |
|
|
|
|
|
|
|
?> |
|
|
|
<?php $this->beginPage() ?> |
|
|
|
<!DOCTYPE html> |
|
|
@@ -145,7 +147,7 @@ use common\helpers\Url; |
|
|
|
|
|
|
|
$menuItems[] = [ |
|
|
|
'label' => '<span class="retour-site">Retour sur le site</span>', |
|
|
|
'url' => Url::frontend(), |
|
|
|
'url' => Yii::$app->urlManagerProducer->createAbsoluteUrl(['site/index','slug_producer' => $producer->slug]), |
|
|
|
]; |
|
|
|
} |
|
|
|
echo Nav::widget([ |