Browse Source

Ajout du label "Déconnexion" dans le header

master
keun 8 years ago
parent
commit
60989e7864
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/views/layouts/main.php

+ 1
- 1
backend/views/layouts/main.php View File

$menuItems[] = ['label' => 'Connexion', 'url' => ['/site/login']]; $menuItems[] = ['label' => 'Connexion', 'url' => ['/site/login']];
} else { } else {
$menuItems[] = [ $menuItems[] = [
'label' => '<span class="glyphicon glyphicon-off"></span>',
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion',
'url' => ['/site/logout'], 'url' => ['/site/logout'],
'linkOptions' => ['data-method' => 'post'] 'linkOptions' => ['data-method' => 'post']
]; ];

Loading…
Cancel
Save