Skip to content

Commit

Permalink
fix #88 stick to the original code, via span
Browse files Browse the repository at this point in the history
  • Loading branch information
kvush authored Jul 13, 2016
1 parent 273ce3b commit 1b6df05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widgets/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class Menu extends \yii\widgets\Menu
protected function renderItem($item)
{
if(isset($item['items'])) {
$labelTemplate = '<a href="{url}">{label} <i class="fa fa-angle-left pull-right-container"></i></a>';
$linkTemplate = '<a href="{url}">{icon} {label} <i class="fa fa-angle-left pull-right-container"></i></a>';
$labelTemplate = '<a href="{url}">{label} <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a>';
$linkTemplate = '<a href="{url}">{icon} {label} <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a>';
}
else {
$labelTemplate = $this->labelTemplate;
Expand Down

0 comments on commit 1b6df05

Please sign in to comment.