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.         {% endif %}
  43.         {% if lastProductStatus.rcaStatus is defined and lastProductStatus.rcaStatus %}
  44.             <li class="nav-item">
  45.                 <a class="nav-link py-3 {% if app.user is not empty %}border-top thick-border{% endif %} rounded-0" title="{{ 'app.ui.rca'|trans }}"
  46.                     href="{{ path('app_shop_rca_details') ? path('app_shop_rca_details', {'from': constant('App\\Entity\\Customer\\TrackerActivity::FROM_HEADER')}) : '#'}}">
  47.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_produse_rca_dark_48.png') }}"/>
  48.                     {{ 'app.ui.rca'|trans }}
  49.                 </a>
  50.             </li>
  51.         {% endif %}
  52.         {% if lastProductStatus.vignetteStatus is defined and lastProductStatus.vignetteStatus %}
  53.             <li class="nav-item">
  54.                 <a href="{{ path('app_shop_vignette') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.vignette'|trans }}">
  55.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_produse_roviniete_dark_48.png') }}" alt="{{ 'app.ui.vignette'|trans }}"/>
  56.                     {{ 'app.ui.vignette'|trans }}
  57.                 </a>
  58.             </li>
  59.         {% endif %}
  60.         {% if lastProductStatus.huVignetteStatus is defined and lastProductStatus.huVignetteStatus %}
  61.             <li class="nav-item">
  62.                 <a href="{{ path('app_shop_hu_vignette') }}" class="nav-link py-3 rounded-0" title="{{ 'app.hu_vignette.hu_vignette'|trans }}">
  63.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ematrica_black.png') }}" alt="{{ 'app.hu_vignette.hu_vignette'|trans }}"/>
  64.                     {{ 'app.hu_vignette.hu_vignette'|trans }}
  65.                 </a>
  66.             </li>
  67.         {% endif %}
  68.         {% if lastProductStatus.deathInsuranceStatus is defined and lastProductStatus.deathInsuranceStatus %}
  69.             <li class="nav-item">
  70.                 <a href="{{ path('app_shop_death_insurance') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.nn_insurance'|trans }}">
  71.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/person.png') }}" alt="{{ 'app.ui.nn_insurance'|trans }}"/>
  72.                     {{ 'app.ui.nn_insurance'|trans }}
  73.                 </a>
  74.             </li>
  75.         {% endif %}
  76.         <li class="nav-item">
  77.             <a {% if lastProductStatus.peajStatus is defined and lastProductStatus.peajStatus %}href="{{ path('app_shop_peaj') }}" {% else %}href="https://www.taxadepod.ro/" target="_blank"{% endif %} class="nav-link py-3 rounded-0" title="{{ 'app.ui.toll_tax'|trans }}">
  78.                 <img class="nav-icon" src="{{ asset('assets/shop/images/icons/ic_produse_pod_dark_48.png') }}" alt="{{ 'app.ui.toll_tax'|trans }}"/>
  79.                 {{ 'app.ui.toll_tax'|trans }}
  80.             </a>
  81.         </li>
  82.         {% if lastProductStatus.licenseRecoveryStatus is defined and lastProductStatus.licenseRecoveryStatus %}
  83.             <li class="nav-item">
  84.                 <a href="{{ path('app_shop_license_recovery') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.license_recovery'|trans }}">
  85.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/license.png') }}" alt="{{ 'app.ui.license_recovery'|trans }}"/>
  86.                     {{ 'app.ui.license_recovery'|trans }}
  87.                 </a>
  88.             </li>
  89.         {% endif %}
  90.         {% if lastProductStatus.telemedicineStatus is defined and lastProductStatus.telemedicineStatus %}
  91.             <li class="nav-item">
  92.                 <a href="{{ path('app_shop_telemedicine') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.telemedicine.menu_entry'|trans }}">
  93.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/umbrella_plus.png') }}" alt="{{ 'app.ui.telemedicine.menu_entry'|trans }}"/>
  94.                     {{ 'app.ui.telemedicine.menu_entry'|trans }}
  95.                 </a>
  96.             </li>
  97.         {% endif %}
  98.         {% if lastProductStatus.roadAssistanceStatus is defined and lastProductStatus.roadAssistanceStatus %}
  99.             <li class="nav-item">
  100.                 <a href="{{ path('app_shop_road_assistance') }}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.road_assistance'|trans }}">
  101.                     <img class="nav-icon" src="{{ asset('assets/shop/images/icons/road_assistance.png') }}" alt="{{ 'app.ui.road_assistance'|trans }}"/>
  102.                     {{ 'app.ui.road_assistance'|trans }}
  103.                 </a>
  104.             </li>
  105.         {% endif %}
  106.         <li class="nav-item">
  107.             <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 }}">
  108.                 {{ 'app.ui.our_services'|trans }}
  109.             </a>
  110.         </li>
  111.         <li class="nav-item">
  112.             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show_faq')}}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.faq'|trans }}">
  113.                 {{ 'app.ui.faq'|trans }}
  114.             </a>
  115.         </li>
  116.         <li class="nav-item">
  117.             <a href="{{path('app_contact')}}" class="nav-link py-3 rounded-0" title="{{ 'app.ui.contact'|trans }}">
  118.                 {{ 'app.ui.contact'|trans }}
  119.             </a>
  120.         </li>
  121.         {% if app.user is not empty %}
  122.             <li class="nav-item">
  123.                 <a href="{{ path('sylius_shop_logout') }}" class="nav-link py-3 rounded-0 text-danger" title="{{ 'sylius.ui.sign_out'|trans }}">
  124.                     {{ 'sylius.ui.sign_out'|trans }}
  125.                 </a>
  126.             </li>
  127.         {% endif %}
  128.     </ul>
  129. </div>