Skip to content

Commit

Permalink
Dev: Add support for text in ExtraMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 27, 2016
1 parent fadf2ee commit 486eb54
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion application/views/admin/super/adminmenu.php
Expand Up @@ -145,11 +145,17 @@
<?php foreach ($extraMenus as $menu): ?>
<li class="dropdown">
<?php if ($menu->isDropDown()): ?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><?php echo $menu->getLabel(); ?>&nbsp;<span class="caret"></span></a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<?php echo $menu->getLabel(); ?>
&nbsp;
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<?php foreach ($menu->getMenuItems() as $menuItem): ?>
<?php if ($menuItem->isDivider()): ?>
<li class="divider"></li>
<?php elseif ($menuItem->isSmallText()): ?>
<li class="dropdown-header"><?php echo $menuItem->getLabel();?></li>
<?php else: ?>
<li>
<a href="<?php echo $menuItem->getHref(); ?>"><?php echo $menuItem->getLabel(); ?></a>
Expand Down

0 comments on commit 486eb54

Please sign in to comment.