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