Sfoglia il codice sorgente

[Backend] Correctif bouton retour site

refactoring
keun 6 anni fa
parent
commit
087f455572
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      backend/views/layouts/main.php

+ 3
- 1
backend/views/layouts/main.php Vedi File

@@ -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([

Loading…
Annulla
Salva