Browse Source

Merge tag 'hotfix_1150' into develop

hotfix_1150
feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
84a1db2b7b
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

]; ];
$itemConnexion = [ $itemConnexion = [
'label' => '<span class="glyphicon glyphicon-log-in"></span> Connexion', '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'], 'linkOptions' => ['class' => 'btn btn-default navbar-btn'],
'visible' => \Yii::$app->user->isGuest, 'visible' => \Yii::$app->user->isGuest,
'active' => $this->getControllerAction() == 'site/login' 'active' => $this->getControllerAction() == 'site/login'
]; ];
$itemSignup = [ $itemSignup = [
'label' => '<span class="glyphicon glyphicon-user"></span> Inscription', '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'], 'linkOptions' => ['class' => 'btn btn-default navbar-btn'],
'visible' => \Yii::$app->user->isGuest, 'visible' => \Yii::$app->user->isGuest,
'active' => $this->getControllerAction() == 'site/signup' 'active' => $this->getControllerAction() == 'site/signup'

Loading…
Cancel
Save