浏览代码

[backend] Correction lien "Espace du producteur"

refactoring
父节点
当前提交
8b4a2188c7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      backend/views/layouts/header.php

+ 2
- 2
backend/views/layouts/header.php 查看文件

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

正在加载...
取消
保存