Bläddra i källkod

[backend] Correction lien "Espace du producteur"

refactoring
Guillaume Bourgeois 5 år sedan
förälder
incheckning
8b4a2188c7
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      backend/views/layouts/header.php

+ 2
- 2
backend/views/layouts/header.php Visa fil

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

Laddar…
Avbryt
Spara