2015-07-07 22:08:16 +02:00
|
|
|
<li style="margin-top: 4px; margin-bottom: 4px; min-width: 220px; cursor: pointer">
|
2016-03-16 00:08:00 +01:00
|
|
|
@if (Utils::isAdmin())
|
|
|
|
@if (isset($user_id) && $user_id != Auth::user()->id)
|
|
|
|
<a href="{{ URL::to("/switch_account/{$user_id}") }}">
|
|
|
|
@else
|
|
|
|
<a href="{{ URL::to("/settings/company_details") }}">
|
|
|
|
@endif
|
|
|
|
@else
|
|
|
|
<a href="{{ URL::to("/settings/user_details") }}">
|
2015-07-07 22:08:16 +02:00
|
|
|
@endif
|
|
|
|
|
2016-03-22 21:19:55 +01:00
|
|
|
@if (!empty($logo_url))
|
2015-07-29 21:55:12 +02:00
|
|
|
<div class="pull-left" style="height: 40px; margin-right: 16px;">
|
2016-03-22 21:19:55 +01:00
|
|
|
<img style="width: 40px; margin-top:6px" src="{{ asset($logo_url) }}"/>
|
2015-07-29 21:55:12 +02:00
|
|
|
</div>
|
2015-07-07 22:08:16 +02:00
|
|
|
@else
|
|
|
|
<div class="pull-left" style="width: 40px; min-height: 40px; margin-right: 16px"> </div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (isset($selected) && $selected)
|
|
|
|
<b>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="account" style="padding-right:90px">{{ $account_name }}</div>
|
|
|
|
<div class="user" style="padding-right:90px">{{ $user_name }}</div>
|
|
|
|
|
|
|
|
@if (isset($selected) && $selected)
|
|
|
|
</b>
|
|
|
|
@endif
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|