templates/Front/Shop/v2/_leftmenu.html.twig line 1

Open in your IDE?
  1. <div class="mobile-left-menu-overlay" style="display: none"></div>
  2. <div id="mobile-left-menu" class="mobile-left-menu">
  3.     <ul class="nav nav-pills nav-flush flex-column mb-auto text-center">
  4.         <li class="nav-item">
  5.             <a class="nav-link py-3  rounded-0 bg-dark text-white"
  6.                href="{% if app.user is empty %}{{ path('sylius_shop_login') }}{% else %}{{ path('sylius_shop_account_dashboard') }}{% endif %}">
  7.                 {% if app.user is not empty %}
  8.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_menu_profile_primary.png') }}"/>
  9.                     {{ 'app.ui.greeting_message'|trans }}
  10.                     {% if locales.activeLocale|slice(0,2)=='ro'%},{% endif %} {{ app.user.customer.fullName }}
  11.                 {% else %}
  12.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_menu_profile_primary.png') }}"/>
  13.                     {{ 'app.ui.sign_in'|trans }}
  14.                 {% endif %}
  15.             </a>
  16.         </li>
  17.         {% if app.user is not empty %}
  18.             <li class="nav-item">
  19.                 <a href="{{ path('sylius_shop_account_dashboard') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.personal_data'|trans }}">
  20.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_sidemenu_datele-mele.png') }}"/>
  21.                     {{ 'app.ui.personal_data'|trans }}
  22.                 </a>
  23.             </li>
  24.             <li class="nav-item">
  25.                 <a href="{{ path('app_shop_account_show_vehicles') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.my_cars'|trans }}">
  26.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_rovinieta_categ_a_grey.png') }}"/>
  27.                     {{ 'app.ui.my_cars'|trans }}
  28.                 </a>
  29.             </li>
  30.             <li class="nav-item">
  31.                 <a href="{{ path('app_view_alerts') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.notifications'|trans}}">
  32.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_sidemenu_notificari.png') }}"/>
  33.                     {{ 'app.ui.notifications'|trans}}
  34.                 </a>
  35.             </li>
  36.             <li class="nav-item">
  37.                 <a href="{{ path('app_shop_vignette_order_history') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.my_orders'|trans }}">
  38.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_sidemenu_comenzi.png') }}"/>
  39.                     {{ 'app.ui.my_orders'|trans }}
  40.                 </a>
  41.             </li>
  42.         {% else %}
  43.         {% endif %}
  44.         {% if lastProductStatus.rcaStatus is defined and lastProductStatus.rcaStatus %}
  45.         <li class="nav-item">
  46.             <a class="nav-link py-3 {% if app.user is not empty %}border-top thick-border{% endif %} rounded-0" title="{{ 'app.ui.rca'|trans }}"
  47.                 href="{{ path('app_shop_rca_details') ? path('app_shop_rca_details', {'from': constant('App\\Entity\\Customer\\TrackerActivity::FROM_HEADER')}) : '#'}}">
  48.                 <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_produse_rca_dark_48.png') }}"/>
  49.                 {{ 'app.ui.rca'|trans }}
  50.             </a>
  51.         </li>
  52.         {% endif %}
  53.         {% if lastProductStatus.vignetteStatus is defined and lastProductStatus.vignetteStatus %}
  54.         <li class="nav-item">
  55.             <a href="{{ path('app_shop_vignette') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.vignette'|trans }}">
  56.                 <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_produse_roviniete_dark_48.png') }}"/>
  57.                 {{ 'app.ui.vignette'|trans }}
  58.             </a>
  59.         </li>
  60.         {% endif %}
  61.         <li class="nav-item">
  62.             <a href="{{ path('app_shop_death_insurance') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.nn_insurance'|trans }}">
  63.                 <img class="nav-icon" src="{{ asset('assets/shop/images/icons/person.png') }}"/>
  64.                 {{ 'app.ui.nn_insurance'|trans }}
  65.             </a>
  66.         </li>
  67.         <li class="nav-item">
  68.             <a href="{{ path('app_shop_telemedicine') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.telemedicine.menu_entry'|trans }}">
  69.                 <img class="nav-icon" src="{{ asset('assets/shop/images/icons/umbrella_plus.png') }}"/>
  70.                 {{ 'app.ui.telemedicine.menu_entry'|trans }}
  71.             </a>
  72.         </li>
  73.         {% if lastProductStatus.huVignetteStatus is defined and lastProductStatus.huVignetteStatus %}
  74.         <li class="nav-item">
  75.             <a href="{{ path('app_shop_hu_vignette') }}" class="nav-link py-3 rounded-0" title="{{ 'app.hu_vignette.hu_vignette'|trans }}">
  76.                 <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ematrica_black.png') }}"/>
  77.                 {{ 'app.hu_vignette.hu_vignette'|trans }}
  78.             </a>
  79.         </li>
  80.         {% endif %}
  81.         {% if lastProductStatus.peajStatus is defined and lastProductStatus.peajStatus %}
  82.             <li class="nav-item">
  83.                 <a href="{{ path('app_shop_peaj') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.toll_tax'|trans }}">
  84.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_produse_pod_dark_48.png') }}"/>
  85.                     {{ 'app.ui.toll_tax'|trans }}
  86.                 </a>
  87.             </li>
  88.         {% endif %}
  89.         {% if lastProductStatus.licenseRecoveryStatus is defined and lastProductStatus.licenseRecoveryStatus %}
  90.             <li class="nav-item">
  91.                 <a href="{{ path('app_shop_license_recovery') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.license_recovery'|trans }}">
  92.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/license.png') }}"/>
  93.                     {{ 'app.ui.license_recovery'|trans }}
  94.                 </a>
  95.             </li>
  96.         {% endif %}
  97.         {% if lastProductStatus.licenseRecoveryStatus is defined and lastProductStatus.licenseRecoveryStatus %}
  98.             <li class="nav-item">
  99.                 <a href="{{ path('app_shop_telemedicine') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.telemedicine.menu_entry'|trans }}">
  100.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/umbrella_plus.png') }}"/>
  101.                     {{ 'app.ui.telemedicine.menu_entry'|trans }}
  102.                 </a>
  103.             </li>
  104.         {% endif %}
  105.         {% if lastProductStatus.roadAssistanceStatus is defined and lastProductStatus.roadAssistanceStatus %}
  106.             <li class="nav-item">
  107.                 <a href="{{ path('app_shop_road_assistance') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.road_assistance'|trans }}">
  108.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/road_assistance.png') }}"/>
  109.                     {{ 'app.ui.road_assistance'|trans }}
  110.                 </a>
  111.             </li>
  112.         {% endif %}
  113.         <li class="nav-item">
  114.             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'servicii-firme'})}}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.our_services'|trans }}">
  115.                 {{ 'app.ui.our_services'|trans }}
  116.             </a>
  117.         </li>
  118.         <li class="nav-item">
  119.             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show_faq')}}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.faq'|trans }}">
  120.                 {{ 'app.ui.faq'|trans }}
  121.             </a>
  122.         </li>
  123.         <li class="nav-item">
  124.             <a href="{{path('app_contact')}}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.contact'|trans }}">
  125.                 {{ 'app.ui.contact'|trans }}
  126.             </a>
  127.         </li>
  128.         {% if app.user is not empty %}
  129.             <li class="nav-item">
  130.                 <a href="{{ path('sylius_shop_logout') }}" class="nav-link py-3 rounded-0 text-danger" title="{{ 'sylius.ui.sign_out'|trans }}">
  131.                     {{ 'sylius.ui.sign_out'|trans }}
  132.                 </a>
  133.             </li>
  134.         {% endif %}
  135.     </ul>
  136. </div>