mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-29 22:21:33 +08:00
Fixes #1193
This commit is contained in:
@@ -38,7 +38,7 @@ AppAsset::register($this);
|
||||
$menuItems[] = ['label' => 'Logout (' . Yii::$app->user->identity->username .')' , 'url' => ['/site/logout']];
|
||||
}
|
||||
echo Nav::widget([
|
||||
'options' => ['class' => 'navbar-nav pull-right'],
|
||||
'options' => ['class' => 'navbar-nav navbar-right'],
|
||||
'items' => $menuItems,
|
||||
]);
|
||||
NavBar::end();
|
||||
|
||||
@@ -42,7 +42,7 @@ AppAsset::register($this);
|
||||
$menuItems[] = ['label' => 'Logout (' . Yii::$app->user->identity->username .')' , 'url' => ['/site/logout']];
|
||||
}
|
||||
echo Nav::widget([
|
||||
'options' => ['class' => 'navbar-nav pull-right'],
|
||||
'options' => ['class' => 'navbar-nav navbar-right'],
|
||||
'items' => $menuItems,
|
||||
]);
|
||||
NavBar::end();
|
||||
|
||||
@@ -30,7 +30,7 @@ AppAsset::register($this);
|
||||
],
|
||||
]);
|
||||
echo Nav::widget([
|
||||
'options' => ['class' => 'navbar-nav pull-right'],
|
||||
'options' => ['class' => 'navbar-nav navbar-right'],
|
||||
'items' => [
|
||||
['label' => 'Home', 'url' => ['/site/index']],
|
||||
['label' => 'About', 'url' => ['/site/about']],
|
||||
|
||||
@@ -26,7 +26,7 @@ NavBar::begin([
|
||||
'options' => ['class' => 'navbar-inverse navbar-fixed-top'],
|
||||
]);
|
||||
echo Nav::widget([
|
||||
'options' => ['class' => 'nav navbar-nav pull-right'],
|
||||
'options' => ['class' => 'nav navbar-nav navbar-right'],
|
||||
'items' => [
|
||||
['label' => 'Home', 'url' => ['default/index']],
|
||||
['label' => 'Help', 'url' => 'http://www.yiiframework.com/doc/guide/topics.gii'],
|
||||
|
||||
Reference in New Issue
Block a user