Commit 347e017a authored by Nicolas Widart's avatar Nicolas Widart

Update the sidebar views

parent db74c3e8
@if($group->enabled)
<p class="menu-title">{{ $group->name }} <span class="pull-right"></span></p>
@if($group->shouldShowHeading())
<li class="menu-title">{{ $group->name }}</li>
@endif
<ul class="sidebar-menu @if(!$group->enabled) no-groups @endif">
@foreach($group->getItems() as $item)
@foreach($group->getItems() as $item)
{!! $item->render() !!}
@endforeach
</ul>
@endforeach
<li class="{{ $item->state }} @if($item->hasItems()) treeview @endif">
<li class="{{ $item->state }} @if($item->hasItems()) treeview @endif clearfix">
<a href="{{ $item->route }}" @if($item->hasAppend())class="hasAppend"@endif>
<i class="{{ $item->icon or 'fa fa-angle-double-right' }}"></i>
<span>{{ $item->name }}</span>
......@@ -9,7 +9,7 @@
@endforeach
@endif
@if($item->hasItems())<i class="fa fa-angle-left pull-right"></i>@endif
@if($item->hasItems())<i class="{{ $item->toggleIcon or 'fa fa-angle-left' }} pull-right"></i>@endif
</a>
@if($item->hasAppend())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment