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

Update the sidebar views

parent db74c3e8
@if($group->enabled) @if($group->shouldShowHeading())
<p class="menu-title">{{ $group->name }} <span class="pull-right"></span></p> <li class="menu-title">{{ $group->name }}</li>
@endif @endif
<ul class="sidebar-menu @if(!$group->enabled) no-groups @endif"> @foreach($group->getItems() as $item)
@foreach($group->getItems() as $item) {!! $item->render() !!}
{!! $item->render() !!} @endforeach
@endforeach
</ul>
<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> <a href="{{ $item->route }}" @if($item->hasAppend())class="hasAppend"@endif>
<i class="{{ $item->icon or 'fa fa-angle-double-right' }}"></i> <i class="{{ $item->icon or 'fa fa-angle-double-right' }}"></i>
<span>{{ $item->name }}</span> <span>{{ $item->name }}</span>
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
@endforeach @endforeach
@endif @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> </a>
@if($item->hasAppend()) @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