Skip to content

Commit

Permalink
Merge pull request #89 from kvush/master
Browse files Browse the repository at this point in the history
 fix #88 arrow icon for multilevel item
  • Loading branch information
githubjeka committed Jul 13, 2016
2 parents 5d07228 + 1b6df05 commit 38a4268
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} <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 38a4268

Please sign in to comment.