use company logo if available and add link to company data
This commit is contained in:
parent
b7b0c8e6c4
commit
d2f8bc7cbf
@ -3,7 +3,11 @@
|
|||||||
<div class="sidenav-header">
|
<div class="sidenav-header">
|
||||||
<i class="fas fa-times p-3 cursor-pointer text-dark opacity-5 position-absolute end-0 top-0 d-none d-xl-none" aria-hidden="true" id="iconSidenav"></i>
|
<i class="fas fa-times p-3 cursor-pointer text-dark opacity-5 position-absolute end-0 top-0 d-none d-xl-none" aria-hidden="true" id="iconSidenav"></i>
|
||||||
<a class="navbar-brand px-4 py-3 m-0" href="{{ path('app_dashboard') }}">
|
<a class="navbar-brand px-4 py-3 m-0" href="{{ path('app_dashboard') }}">
|
||||||
<img src="{{ asset('img/logo-ct-dark.png') }}" class="navbar-brand-img" width="26" height="26" alt="main_logo">
|
{% if app.user.company.companyLogo %}
|
||||||
|
<img src="/uploads/company/{{ app.user.company.companyLogo }}" class="navbar-brand-img" width="30" height="30" alt="main_logo">
|
||||||
|
{% else %}
|
||||||
|
<img src="{{ asset('img/logo-ct-dark.png') }}" class="navbar-brand-img" width="30" height="30" alt="main_logo">
|
||||||
|
{% endif %}
|
||||||
<span class="ms-1 text-sm text-dark">CM Tracker</span>
|
<span class="ms-1 text-sm text-dark">CM Tracker</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -26,6 +30,12 @@
|
|||||||
<span class="nav-link-text ms-1">Admin Dashboard</span>
|
<span class="nav-link-text ms-1">Admin Dashboard</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class='nav-item'>
|
||||||
|
<a class='{{ company_nav }}' href='{{ path('app_company') }}'>
|
||||||
|
<i class='material-symbols-rounded opacity-5'>folder_open</i>
|
||||||
|
<span class='nav-link-text ms-1'>Company</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="{{ user_list }}" href="{{ path('app_list_users') }}">
|
<a class="{{ user_list }}" href="{{ path('app_list_users') }}">
|
||||||
<i class="material-symbols-rounded opacity-5">assignment</i>
|
<i class="material-symbols-rounded opacity-5">assignment</i>
|
||||||
|
Loading…
Reference in New Issue
Block a user