templates/sidebar.html.twig line 1
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<!-- Sidebar -->
<nav id="sidebar" class="active">
{# <div class="sidebar-header">
<div class=" w-80 h-25 text-center mt-5 pt-3" style="color: white; font-size: 3em;">
<div class="avatar">
<i class="oi oi-person"></i>
</div>
</div>
</div>#}
<ul class="list-unstyled components mt-5 pt-5">
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-briefcase mx-3"></i><span> Companies </span>
</a>
<ul class="collapse sub-menu" id="companySubMenu" role="menu">
<li><a class="list-group-item-action" href="{{ path('company_info_list') }}">Lists</a></li>
<li><a class="list-group-item-action" href="{{ path('company_info_new') }}">New</a></li>
</ul>
</li>
{% if is_granted('ROLE_ADMIN') %}
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-bar-chart mx-3"></i><span> Analysis Setting </span>
</a>
<ul class="collapse sub-menu" id="analysiSubMenu">
<li><a class="dropdown-item" href="{{ path('field_format_list') }}">Field Formats </a></li>
<li><a class="dropdown-item" href="{{ path('category_report_list') }}">Field Categories </a></li>
<li><a class="dropdown-item" href="{{ path('field_report_list') }}">Fields </a></li>
<li><a class="dropdown-item" href="#">Group field order </a></li>
</ul>
</li>
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-print mx-3"></i><span> Report </span>
</a>
<ul class="collapse sub-menu" id="reportSubMenu">
<li><a class="dropdown-item" href="{{ path('report_list') }}">Reports </a></li>
<li><a class="dropdown-item" href="{{ path('group_field_report_list') }}">Report Group fields </a></li>
<li><a class="dropdown-item" href="{{ path('report_period_list') }}">Report periods </a></li>
<li><a class="dropdown-item" href="{{ path('report_fields_list') }}">Report fields </a></li>
</ul>
</li>
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-wrench mx-3"></i><span> Tools </span>
</a>
<ul class="collapse sub-menu" id="toolSubMenu">
<li><a class="dropdown-item" href="{{ path('sector_list') }}">Sectors </a></li>
<li><a class="dropdown-item" href="{{ path('classification_list') }}">Ateco Classification </a></li>
<li><a class="dropdown-item" href="{{ path('rating_code_list') }}">Rating Codes </a></li>
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li><a class="dropdown-item" href="{{ path('origination_az_import_cf') }}">Import AZ Consultant</a></li>
<li><a class="dropdown-item" href="{{ path('db_probability_list') }}">Probabilities List</a></li>
{% endif %}
</ul>
</li>
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-people mx-3"></i><span> Accounts </span>
</a>
<ul class="collapse sub-menu" id="accountSubMenu">
<li><a class="dropdown-item" href="{{ path('user_list') }}">Users </a></li>
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li><a class="dropdown-item" href="{{ path('user_group_list') }}">Groups </a></li>
<li><a class="dropdown-item" href="{{ path('permission_list') }}">Permession </a></li>
{% endif %}
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-warning mx-3"></i><span> App Release </span>
</a>
<ul class="collapse sub-menu" id="accountSubMenu">
<li><a class="dropdown-item" href="{{ path('app_release_new') }}">New release</a></li>
<li><a class="dropdown-item" href="{{ path('app_release_index') }}">Release List </a></li>
</ul>
</li>
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-warning mx-3"></i><span> App Release Platform</span>
</a>
<ul class="collapse sub-menu" id="accountSubMenu">
<li><a class="dropdown-item" href="{{ path('app_release_platform_new') }}">New release</a></li>
<li><a class="dropdown-item" href="{{ path('app_release_platform_index') }}">Release List </a></li>
</ul>
</li>
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-warning mx-3"></i><span> Maintenances </span>
</a>
<ul class="collapse sub-menu" id="accountSubMenu">
<li><a class="dropdown-item" href="{{ path('maintenance_new') }}">New Maintenance</a></li>
<li><a class="dropdown-item" href="{{ path('maintenance_index') }}">Maintenance List </a></li>
</ul>
</li>
{% endif %}
{% if is_granted('ROLE_OFFICER') or is_granted('ROLE_ADMIN') or is_granted('ROLE_SUPER_ADMIN') %}
<li class="mb-3 dropdown">
<a href="#" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<i class="oi oi-cloud-download mx-3"></i><span> Extraction </span>
</a>
<ul class="collapse sub-menu" id="toolSubMenu">
<li><a class="dropdown-item" href="{{ path('extraction_new') }}">New extraction</a></li>
<li><a class="dropdown-item" href="{{ path('extraction_list') }}">Extraction list</a></li>
</ul>
</li>
{% endif %}
</ul>
</nav>
{% endif %}