Pārlūkot izejas kodu

[backend] Correction lien "Espace du producteur"

dev
Guillaume Bourgeois pirms 5 gadiem
vecāks
revīzija
8b4a2188c7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      backend/views/layouts/header.php

+ 2
- 2
backend/views/layouts/header.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt