Skip to content

Commit

Permalink
fix #88 arrow icon for multilevel item
Browse files Browse the repository at this point in the history
  • Loading branch information
kvush authored Jul 12, 2016
1 parent 550248c commit 273ce3b
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"></i></a>';
$linkTemplate = '<a href="{url}">{icon} {label} <i class="fa fa-angle-left pull-right"></i></a>';
$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>';
}
else {
$labelTemplate = $this->labelTemplate;
Expand Down

0 comments on commit 273ce3b

Please sign in to comment.