templates/application/whileresume/website/components/sidebar.html.twig line 1

Open in your IDE?
  1. <style>
  2.     .nav-wrap .nav-content-bttn.active{
  3.         background:var(--theme-color,#6C3AED) !important;
  4.         color:#fff !important;
  5.         border-radius:10px;
  6.     }
  7.     .nav-wrap .nav-content-bttn.active i,
  8.     .nav-wrap .nav-content-bttn.active span{
  9.         color:#fff !important;
  10.     }
  11.     .nav-wrap .nav-content-bttn.active:hover{
  12.         background:var(--theme-color,#6C3AED) !important;
  13.         color:#fff !important;
  14.     }
  15. </style>
  16. <nav class="navigation scroll-bar">
  17.     <div class="container ps-0 pe-0">
  18.         <div class="nav-content">
  19.             <div class="nav-wrap bg-white bg-transparent-card rounded-xxl shadow-xss pt-3 pb-1 mb-2 mt-2">
  20.                 <div class="nav-caption fw-600 font-xssss text-grey-500"><span></span>{{ 'sidebar.connected'|trans({}, 'whr-public') }}</div>
  21.                 <ul class="mb-1 top-content">
  22.                     <li class="logo d-none d-xl-block d-lg-block"></li>
  23.                     <li>
  24.                         <a href="{% if app.request.locale == 'en' %}{{ path('whileresume_homepage') }}{% else %}{{ path('locale_whileresume_homepage',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font">
  25.                             <i class="font-xl text-current feather-home me-3"></i>
  26.                             <span>{{ 'sidebar.home'|trans({}, 'whr-public') }}</span>
  27.                         </a>
  28.                     </li>
  29.                     <li>
  30.                         <a class="nav-content-bttn open-font">
  31.                             <i class="font-xl text-current feather-globe me-3"></i>
  32.                             <span>{{ 'sidebar.business'|trans({}, 'whr-public') }}</span>
  33.                         </a>
  34.                     </li>
  35.                 </ul>
  36.             </div>
  37.             <div class="nav-wrap bg-white bg-transparent-card rounded-xxl shadow-xss pt-3 pb-1 mb-2 mt-2">
  38.                 <div class="nav-caption fw-600 font-xssss text-grey-500"><span></span>{{ 'sidebar.discover'|trans({}, 'whr-public') }}</div>
  39.                 <ul class="mb-1 top-content">
  40.                     <li>
  41.                         <a href="{% if app.request.locale == 'en' %}{{ path('cvs_website_articles') }}{% else %}{{ path('locale_cvs_website_articles',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font">
  42.                             <i class="font-xl text-current feather-folder me-3"></i>
  43.                             <span>{{ 'sidebar.database'|trans({}, 'whr-public') }}</span>
  44.                         </a>
  45.                     </li>
  46.                     {% set isOnJobs = app.request.attributes.get('_route') in ['whileresume_jobs_list','locale_whileresume_jobs_list','cvs_application_jobs_filter','locale_cvs_application_jobs_filter','cvs_application_jobs_filter_keyword','locale_cvs_application_jobs_filter_keyword','cvs_application_job_show','locale_cvs_application_job_show'] %}
  47.                     <li{% if isOnJobs %} class="active"{% endif %}>
  48.                         <a href="{% if app.request.locale == 'en' %}{{ path('whileresume_jobs_list') }}{% else %}{{ path('locale_whileresume_jobs_list',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font{% if isOnJobs %} active{% endif %}">
  49.                             <i class="font-xl text-current feather-briefcase me-3"></i>
  50.                             <span>{{ 'sidebar.jobs'|trans({}, 'whr-public') }}</span>
  51.                         </a>
  52.                     </li>
  53.                     {% set isOnCompanies = app.request.attributes.get('_route') in ['whileresume_companies_list','locale_whileresume_companies_list','cvs_application_companies_filter','locale_cvs_application_companies_filter','cvs_application_companies_filter_keyword','locale_cvs_application_companies_filter_keyword','cvs_application_company_show','locale_cvs_application_company_show'] %}
  54.                     <li{% if isOnCompanies %} class="active"{% endif %}>
  55.                         <a href="{% if app.request.locale == 'en' %}{{ path('whileresume_companies_list') }}{% else %}{{ path('locale_whileresume_companies_list',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font{% if isOnCompanies %} active{% endif %}">
  56.                             <i class="font-xl text-current feather-globe me-3"></i>
  57.                             <span>{{ 'sidebar.companies'|trans({}, 'whr-public') }}</span>
  58.                         </a>
  59.                     </li>
  60.                     {% if isCandidateUser %}
  61.                         <li>
  62.                             <a href="{% if app.request.locale == 'en' %}{{ path('cvs_gestion_candidates_dashboard') }}{% else %}{{ path('locale_cvs_gestion_candidates_dashboard',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font">
  63.                                 <i class="font-xl text-current feather-heart me-3"></i>
  64.                                 <span>{{ 'sidebar.favorites'|trans({}, 'whr-public') }}</span>
  65.                             </a>
  66.                         </li>
  67.                     {% endif %}
  68.                 </ul>
  69.             </div>
  70.             <div class="nav-wrap bg-white bg-transparent-card rounded-xxl shadow-xss pt-3 pb-1 mb-2 mt-2">
  71.                 <div class="nav-caption fw-600 font-xssss text-grey-500"><span></span>{{ 'sidebar.connected'|trans({}, 'whr-public') }}</div>
  72.                 <ul class="mb-1 top-content">
  73.                     <li class="logo d-none d-xl-block d-lg-block"></li>
  74.                     <li>
  75.                         <a class="nav-content-bttn open-font">
  76.                             <i class="font-xl text-current feather-lock me-3" style="color:grey !important;"></i>
  77.                             <span>{{ 'sidebar.moncv'|trans({}, 'whr-public') }}</span>
  78.                         </a>
  79.                     </li>
  80.                     <li>
  81.                         <a class="nav-content-bttn open-font">
  82.                             <i class="font-xl text-current feather-lock me-3" style="color:grey !important;"></i>
  83.                             <span>{{ 'sidebar.moncv_generated'|trans({}, 'whr-public') }}</span>
  84.                         </a>
  85.                     </li>
  86.                     <li>
  87.                         <a class="nav-content-bttn open-font">
  88.                             <i class="font-xl text-current feather-lock me-3" style="color:grey !important;"></i>
  89.                             <span>{{ 'sidebar.moncv_original'|trans({}, 'whr-public') }}</span>
  90.                         </a>
  91.                     </li>
  92.                 </ul>
  93.             </div>
  94.             {% if isCandidateUser %}
  95.             {% endif %}
  96.             {% if sidebarFiltersCities is defined and sidebarFiltersCities|length > 0 %}
  97.                 <div class="nav-wrap bg-white bg-transparent-card rounded-xxl shadow-xss pt-3 pb-1 mb-2 whr-filter-section" data-page-size="5">
  98.                     <div class="nav-caption fw-600 font-xssss text-grey-500"><span>{{ 'sidebar.filterCitiesSection'|trans({}, 'whr-public') }}</span></div>
  99.                     {# Input de recherche live #}
  100.                     {% if sidebarFiltersCities|length > 5 %}
  101.                         <div class="px-3 pt-1 pb-2 whr-filter-search-wrap">
  102.                             <div class="whr-filter-search">
  103.                                 <span class="whr-filter-search-icon">
  104.                                     <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>
  105.                                 </span>
  106.                                 <input type="text"
  107.                                        class="whr-filter-search-input"
  108.                                        placeholder="{{ 'sidebar.filterSearchCity'|trans({}, 'whr-public') }}"
  109.                                        autocomplete="off">
  110.                             </div>
  111.                         </div>
  112.                     {% endif %}
  113.                     <ul class="mb-1 whr-filter-list">
  114.                         {% for f in sidebarFiltersCities %}
  115.                             <li class="whr-filter-item" data-index="{{ loop.index0 }}" data-filter-label="{{ f.label }}"{% if loop.index0 >= 5 %} style="display:none"{% endif %}>
  116.                                 <a href="{% if app.request.locale == 'en' %}{{ path('cvs_application_jobs_filter',{'slug':f.slug}) }}{% else %}{{ path('locale_cvs_application_jobs_filter',{'_locale':app.request.locale,'slug':f.slug}) }}{% endif %}"
  117.                                    class="nav-content-bttn open-font h-auto pt-2 pb-2">
  118.                                     {% if f.icon is not empty %}
  119.                                         <span class="me-3" style="font-size:18px;line-height:1;display:inline-block;width:24px;text-align:center;">{{ f.icon }}</span>
  120.                                     {% else %}
  121.                                         <i class="font-sm feather-map-pin me-3 text-grey-500"></i>
  122.                                     {% endif %}
  123.                                     <span>{{ f.label }}</span>
  124.                                 </a>
  125.                             </li>
  126.                         {% endfor %}
  127.                         <li class="whr-filter-empty"><span>{{ 'sidebar.filterNoResults'|trans({}, 'whr-public') }}</span></li>
  128.                     </ul>
  129.                     {# Pagination ← 1/N → #}
  130.                     {% if sidebarFiltersCities|length > 5 %}
  131.                         <div class="px-3 pb-2 pt-1 whr-filter-pager-wrap">
  132.                             <div class="whr-filter-pager">
  133.                                 <button type="button" class="whr-filter-pager-btn whr-filter-pager-prev" aria-label="{{ 'sidebar.filterPrev'|trans({}, 'whr-public') }}">
  134.                                     <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polyline points="15 18 9 12 15 6"/></svg>
  135.                                 </button>
  136.                                 <span class="whr-filter-pager-info"><span class="whr-filter-pager-current">1</span>/<span class="whr-filter-pager-total">{{ ((sidebarFiltersCities|length - 1) // 5) + 1 }}</span></span>
  137.                                 <button type="button" class="whr-filter-pager-btn whr-filter-pager-next" aria-label="{{ 'sidebar.filterNext'|trans({}, 'whr-public') }}">
  138.                                     <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polyline points="9 18 15 12 9 6"/></svg>
  139.                                 </button>
  140.                             </div>
  141.                         </div>
  142.                     {% endif %}
  143.                 </div>
  144.             {% endif %}
  145.             {% if sidebarFiltersCategories is defined and sidebarFiltersCategories|length > 0 %}
  146.                 <div class="nav-wrap bg-white bg-transparent-card rounded-xxl shadow-xss pt-3 pb-1 mb-2 whr-filter-section" data-page-size="5">
  147.                     <div class="nav-caption fw-600 font-xssss text-grey-500"><span>{{ 'sidebar.filterCategoriesSection'|trans({}, 'whr-public') }}</span></div>
  148.                     {% if sidebarFiltersCategories|length > 5 %}
  149.                         <div class="px-3 pt-1 pb-2 whr-filter-search-wrap">
  150.                             <div class="whr-filter-search">
  151.                                 <span class="whr-filter-search-icon">
  152.                                     <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>
  153.                                 </span>
  154.                                 <input type="text"
  155.                                        class="whr-filter-search-input"
  156.                                        placeholder="{{ 'sidebar.filterSearchCategory'|trans({}, 'whr-public') }}"
  157.                                        autocomplete="off">
  158.                             </div>
  159.                         </div>
  160.                     {% endif %}
  161.                     <ul class="mb-1 whr-filter-list">
  162.                         {% for f in sidebarFiltersCategories %}
  163.                             <li class="whr-filter-item" data-index="{{ loop.index0 }}" data-filter-label="{{ f.label }}"{% if loop.index0 >= 5 %} style="display:none"{% endif %}>
  164.                                 <a href="{% if app.request.locale == 'en' %}{{ path('cvs_application_jobs_filter',{'slug':f.slug}) }}{% else %}{{ path('locale_cvs_application_jobs_filter',{'_locale':app.request.locale,'slug':f.slug}) }}{% endif %}"
  165.                                    class="nav-content-bttn open-font h-auto pt-2 pb-2">
  166.                                     {% if f.icon is not empty %}
  167.                                         <span class="me-3" style="font-size:18px;line-height:1;display:inline-block;width:24px;text-align:center;">{{ f.icon }}</span>
  168.                                     {% else %}
  169.                                         <i class="font-sm feather-briefcase me-3 text-grey-500"></i>
  170.                                     {% endif %}
  171.                                     <span>{{ f.label }}</span>
  172.                                 </a>
  173.                             </li>
  174.                         {% endfor %}
  175.                         <li class="whr-filter-empty"><span>{{ 'sidebar.filterNoResults'|trans({}, 'whr-public') }}</span></li>
  176.                     </ul>
  177.                     {% if sidebarFiltersCategories|length > 5 %}
  178.                         <div class="px-3 pb-2 pt-1 whr-filter-pager-wrap">
  179.                             <div class="whr-filter-pager">
  180.                                 <button type="button" class="whr-filter-pager-btn whr-filter-pager-prev" aria-label="{{ 'sidebar.filterPrev'|trans({}, 'whr-public') }}">
  181.                                     <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polyline points="15 18 9 12 15 6"/></svg>
  182.                                 </button>
  183.                                 <span class="whr-filter-pager-info"><span class="whr-filter-pager-current">1</span>/<span class="whr-filter-pager-total">{{ ((sidebarFiltersCategories|length - 1) // 5) + 1 }}</span></span>
  184.                                 <button type="button" class="whr-filter-pager-btn whr-filter-pager-next" aria-label="{{ 'sidebar.filterNext'|trans({}, 'whr-public') }}">
  185.                                     <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polyline points="9 18 15 12 9 6"/></svg>
  186.                                 </button>
  187.                             </div>
  188.                         </div>
  189.                     {% endif %}
  190.                 </div>
  191.             {% endif %}
  192.             {% if (sidebarFiltersCities is defined and sidebarFiltersCities|length > 5)
  193.                 or (sidebarFiltersCategories is defined and sidebarFiltersCategories|length > 5) %}
  194.                 <style>
  195.                     /* Recherche */
  196.                     .whr-filter-search{position:relative;display:block}
  197.                     .whr-filter-search-input{
  198.                         width:100%;padding:6px 10px 6px 28px;
  199.                         border:1px solid #E5E7EB;border-radius:100px;
  200.                         font-size:11.5px;color:#1E1B2E;background:#FAFAFA;
  201.                         font-family:inherit;outline:none;box-sizing:border-box;
  202.                         transition:border-color .15s,background .15s
  203.                     }
  204.                     .whr-filter-search-input:focus{border-color:rgba(108,58,237,.4);background:#fff}
  205.                     .whr-filter-search-input::placeholder{color:#9CA3AF}
  206.                     .whr-filter-search-icon{
  207.                         position:absolute;left:10px;top:50%;transform:translateY(-50%);
  208.                         color:#9CA3AF;pointer-events:none;display:flex
  209.                     }
  210.                     .whr-filter-search-icon svg{width:11px;height:11px}
  211.                     /* État vide (aucun résultat de recherche) */
  212.                     .whr-filter-empty{display:none;list-style:none;padding:10px 14px;text-align:center}
  213.                     .whr-filter-empty span{font-size:11px;color:#9CA3AF;font-style:italic}
  214.                     .whr-filter-list.is-empty .whr-filter-empty{display:list-item}
  215.                     /* Pager */
  216.                     .whr-filter-pager{
  217.                         display:flex;align-items:center;justify-content:center;gap:8px;
  218.                         padding:4px;
  219.                     }
  220.                     .whr-filter-pager-btn{
  221.                         display:inline-flex;align-items:center;justify-content:center;
  222.                         width:26px;height:26px;
  223.                         background:transparent;border:1px solid rgba(108,58,237,.25);border-radius:8px;
  224.                         color:var(--theme-color,#6C3AED);
  225.                         font-family:inherit;cursor:pointer;
  226.                         transition:background .15s,border-color .15s,opacity .15s
  227.                     }
  228.                     .whr-filter-pager-btn:hover:not(:disabled){background:#F5F3FF;border-color:var(--theme-color,#6C3AED)}
  229.                     .whr-filter-pager-btn:disabled{opacity:.35;cursor:not-allowed}
  230.                     .whr-filter-pager-btn svg{width:12px;height:12px}
  231.                     .whr-filter-pager-info{
  232.                         font-size:11.5px;font-weight:600;color:#6B7280;
  233.                         min-width:36px;text-align:center;letter-spacing:.02em
  234.                     }
  235.                     .whr-filter-pager-current{color:var(--theme-color,#6C3AED)}
  236.                     /* Quand la recherche est active, on cache le pager (l'utilisateur voit déjà tous les matches) */
  237.                     .whr-filter-section.is-searching .whr-filter-pager-wrap{display:none}
  238.                 </style>
  239.                 <script>
  240.                     (function(){
  241.                         'use strict';
  242.                         function whrSlug(s){
  243.                             if(!s) return '';
  244.                             var t = String(s);
  245.                             t = t.normalize ? t.normalize('NFD').replace(/[\u0300-\u036f]/g, '') : t;
  246.                             return t.toLowerCase().trim();
  247.                         }
  248.                         document.querySelectorAll('.whr-filter-section').forEach(function(section){
  249.                             var pageSize = parseInt(section.getAttribute('data-page-size'), 10) || 5;
  250.                             var list = section.querySelector('.whr-filter-list');
  251.                             if(!list) return;
  252.                             var items = section.querySelectorAll('.whr-filter-item');
  253.                             var input = section.querySelector('.whr-filter-search-input');
  254.                             var pagerWrap = section.querySelector('.whr-filter-pager');
  255.                             var prevBtn = section.querySelector('.whr-filter-pager-prev');
  256.                             var nextBtn = section.querySelector('.whr-filter-pager-next');
  257.                             var currentSpan = section.querySelector('.whr-filter-pager-current');
  258.                             var totalSpan = section.querySelector('.whr-filter-pager-total');
  259.                             var total = items.length;
  260.                             var totalPages = Math.max(1, Math.ceil(total / pageSize));
  261.                             var currentPage = 1;
  262.                             function renderPage(){
  263.                                 var startIdx = (currentPage - 1) * pageSize;
  264.                                 var endIdx = startIdx + pageSize;
  265.                                 items.forEach(function(it, i){
  266.                                     it.style.display = (i >= startIdx && i < endIdx) ? '' : 'none';
  267.                                 });
  268.                                 if(currentSpan) currentSpan.textContent = currentPage;
  269.                                 if(prevBtn) prevBtn.disabled = (currentPage <= 1);
  270.                                 if(nextBtn) nextBtn.disabled = (currentPage >= totalPages);
  271.                                 list.classList.remove('is-empty');
  272.                             }
  273.                             function applySearch(query){
  274.                                 var q = whrSlug(query || '');
  275.                                 if(!q){
  276.                                     section.classList.remove('is-searching');
  277.                                     renderPage();
  278.                                     return;
  279.                                 }
  280.                                 section.classList.add('is-searching');
  281.                                 var visibleCount = 0;
  282.                                 items.forEach(function(it){
  283.                                     var label = it.getAttribute('data-filter-label') || '';
  284.                                     var matches = whrSlug(label).indexOf(q) !== -1;
  285.                                     it.style.display = matches ? '' : 'none';
  286.                                     if(matches) visibleCount++;
  287.                                 });
  288.                                 if(visibleCount === 0){
  289.                                     list.classList.add('is-empty');
  290.                                 } else {
  291.                                     list.classList.remove('is-empty');
  292.                                 }
  293.                             }
  294.                             if(prevBtn){
  295.                                 prevBtn.addEventListener('click', function(){
  296.                                     if(currentPage > 1){ currentPage--; renderPage(); }
  297.                                 });
  298.                             }
  299.                             if(nextBtn){
  300.                                 nextBtn.addEventListener('click', function(){
  301.                                     if(currentPage < totalPages){ currentPage++; renderPage(); }
  302.                                 });
  303.                             }
  304.                             if(input){
  305.                                 input.addEventListener('input', function(){
  306.                                     applySearch(input.value);
  307.                                 });
  308.                             }
  309.                             // Init
  310.                             renderPage();
  311.                         });
  312.                     })();
  313.                 </script>
  314.             {% endif %}
  315.             <div class="nav-wrap bg-white bg-transparent-card rounded-xxl shadow-xss pt-3 pb-1">
  316.                 <div class="nav-caption fw-600 font-xssss text-grey-500"><span></span>{{ 'sidebar.account'|trans({}, 'whr-public') }}</div>
  317.                 <ul class="mb-1">
  318.                     <li class="logo d-none d-xl-block d-lg-block"></li>
  319.                     {% if connectUser %}
  320.                         {% if isCandidateUser %}
  321.                             <li><a href="{% if app.request.locale == "en" %}{{ path('cvs_gestion_candidates_dashboard') }}{% else %}{{ path('locale_cvs_gestion_candidates_dashboard',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font h-auto pt-2 pb-2"><i class="font-sm feather-grid me-3 text-grey-500"></i><span>{{ 'layout.sidebar.dashboard'|trans({}, 'whr-candidates') }}</span></a></li>
  322.                             {% if app.user.first == 0 %}
  323.                                 <li><a href="{% if app.request.locale == "en" %}{{ path('cvs_gestion_candidates_profile_profile') }}{% else %}{{ path('locale_cvs_gestion_candidates_profile_profile',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font h-auto pt-2 pb-2"><i class="font-sm feather-user me-3 text-grey-500"></i><span>{{ 'layout.sidebar.my_profile'|trans({}, 'whr-candidates') }}</span></a></li>
  324.                             {% endif %}
  325.                         {% else %}
  326.                             <li><a href="{% if app.request.locale == "en" %}{{ path('cvs_gestion_enterprises_dashboard') }}{% else %}{{ path('locale_cvs_gestion_enterprises_dashboard',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font h-auto pt-2 pb-2" ><i class="font-sm feather-grid me-3 text-grey-500"></i> <span>{{ 'layout.nav.dashboard'|trans({}, 'whr-enterprises') }}</span></a></li>
  327.                             <li><a href="{% if app.request.locale == "en" %}{{ path('cvs_gestion_enterprises_profile_profile') }}{% else %}{{ path('locale_cvs_gestion_enterprises_profile_profile',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font h-auto pt-2 pb-2"><i class="font-sm feather-user me-3 text-grey-500"></i><span>{{ 'layout.nav.my_profile'|trans({}, 'whr-enterprises') }}</span></a></li>
  328.                             <li><a href="{% if app.request.locale == "en" %}{{ path('cvs_gestion_enterprises_settings') }}{% else %}{{ path('locale_cvs_gestion_enterprises_settings',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font h-auto pt-2 pb-2"><i class="font-sm feather-settings me-3 text-grey-500"></i><span>{{ 'layout.nav.settings'|trans({}, 'whr-enterprises') }}</span></a></li>
  329.                         {% endif %}
  330.                         {% if is_granted("ROLE_SUPER_ADMIN") %}
  331.                             <li><a href="{{ path('backoffice_dashboard') }}" class="nav-content-bttn open-font h-auto pt-2 pb-2"><i class="font-sm feather-settings me-3 text-grey-500"></i><span>{{ 'layout.nav.administration'|trans({}, 'whr-enterprises') }}</span></a></li>
  332.                         {% endif %}
  333.                         <li><a href="{{ path('app_logout') }}" class="nav-content-bttn open-font h-auto pt-2 pb-2"><i class="font-sm feather-log-out me-3 text-grey-500"></i><span>{{ 'layout.nav.logout'|trans({}, 'whr-enterprises') }}</span></a></li>
  334.                     {% else %}
  335.                         <li>
  336.                             <a href="{% if app.request.locale == 'en' %}{{ path('app_login') }}{% else %}{{ path('locale_app_login',{'_locale':app.request.locale}) }}{% endif %}" class="nav-content-bttn open-font h-auto pt-2 pb-2">
  337.                                 <i class="font-sm feather-log-in me-3 text-grey-500"></i>
  338.                                 <span>{{ 'sidebar.signin'|trans({}, 'whr-public') }}</span>
  339.                             </a>
  340.                         </li>
  341.                         <li>
  342.                             <a href="{% if app.request.locale == 'en' %}{{ path('whileresume_resume_en') }}{% else %}{{ path('whileresume_resume_fr') }}{% endif %}" class="nav-content-bttn open-font h-auto pt-2 pb-2">
  343.                                 <i class="font-sm feather-user-plus me-3 text-grey-500"></i>
  344.                                 <span>{{ 'sidebar.signup'|trans({}, 'whr-public') }}</span>
  345.                             </a>
  346.                         </li>
  347.                     {% endif %}
  348.                 </ul>
  349.             </div>
  350.         </div>
  351.     </div>
  352. </nav>