invoiceninja/resources/views/user_account.blade.php

29 lines
989 B
PHP
Raw Normal View History

2015-07-07 23:08:16 +03:00
<li style="margin-top: 4px; margin-bottom: 4px; min-width: 220px; cursor: pointer">
2015-08-03 22:08:07 +03:00
@if (isset($user_id) && $user_id != Auth::user()->id)
2015-08-03 10:15:58 +03:00
<a href="{{ URL::to("/switch_account/{$user_id}") }}">
2015-07-07 23:08:16 +03:00
@else
2015-10-14 17:15:39 +03:00
<a href="{{ URL::to("/settings/company_details") }}">
2015-07-07 23:08:16 +03:00
@endif
2015-08-07 09:14:29 +03:00
@if (file_exists($logo_path))
2015-07-29 22:55:12 +03:00
<div class="pull-left" style="height: 40px; margin-right: 16px;">
2015-08-07 09:14:29 +03:00
<img style="width: 40px; margin-top:6px" src="{{ asset($logo_path) }}"/>
2015-07-29 22:55:12 +03:00
</div>
2015-07-07 23:08:16 +03:00
@else
<div class="pull-left" style="width: 40px; min-height: 40px; margin-right: 16px">&nbsp;</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>