Sfoglia il codice sorgente

[backend] Correction lien "Espace du producteur"

dev
parent
commit
8b4a2188c7
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      backend/views/layouts/header.php

+ 2
- 2
backend/views/layouts/header.php Vedi File

@@ -141,7 +141,7 @@ use yii\helpers\ArrayHelper;
<ul class="dropdown-menu">
<?php if(User::isCurrentAdmin()): ?>
<li>
<a href="<?= Yii::$app->urlManagerProducer->createUrl(['site/index','slug_producer' => Producer::getCurrent()->slug]); ?>">
<a href="<?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['site/index','slug_producer' => Producer::getCurrent()->slug]); ?>">
<i class="fa fa-th-large"></i>
<span class="hidden-xs">Espace du producteur</span>
</a>
@@ -153,7 +153,7 @@ use yii\helpers\ArrayHelper;
<?php endforeach; ?>
<?php else: ?>
<li>
<a href="<?= Yii::$app->urlManagerProducer->createUrl(['site/index','slug_producer' => Producer::getCurrent()->slug]); ?>">
<a href="<?= Yii::$app->urlManagerProducer->createAbsoluteUrl(['site/index','slug_producer' => Producer::getCurrent()->slug]); ?>">
<i class="fa fa-th-large"></i>
<span class="hidden-xs">Mon espace</span>
</a>

Loading…
Annulla
Salva