Browse Source

Merge branch 'hotfix/hotfix_1150'

master
Guillaume Bourgeois 1 year ago
parent
commit
452c99fcee
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common/views/nav_user_top.php

+ 2
- 2
common/views/nav_user_top.php View File

@@ -110,14 +110,14 @@ if ($userManager->isCurrentProducer()) {
];
$itemConnexion = [
'label' => '<span class="glyphicon glyphicon-log-in"></span> Connexion',
'url' => $this->getUrlManagerFrontend()->createUrl(['site/login']),
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/login']),
'linkOptions' => ['class' => 'btn btn-default navbar-btn'],
'visible' => \Yii::$app->user->isGuest,
'active' => $this->getControllerAction() == 'site/login'
];
$itemSignup = [
'label' => '<span class="glyphicon glyphicon-user"></span> Inscription',
'url' => $this->getUrlManagerFrontend()->createUrl(['site/signup']),
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/signup']),
'linkOptions' => ['class' => 'btn btn-default navbar-btn'],
'visible' => \Yii::$app->user->isGuest,
'active' => $this->getControllerAction() == 'site/signup'

Loading…
Cancel
Save