templates/application/whileresume/website/components/elements/discover.html.twig line 1

Open in your IDE?
  1. <div class="nav-wrap bg-white bg-transparent-card rounded-xxl shadow-xss pt-3 pb-1 mb-2 mt-2">
  2. <div class="nav-caption fw-600 font-xssss text-grey-500"><span></span>{{ 'sidebar.discover'|trans({}, 'whr-public') }}</div>
  3. <ul class="mb-1 top-content">
  4. <li>
  5. <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">
  6. <i class="font-xl text-current feather-folder me-3"></i>
  7. <span>{{ 'sidebar.database'|trans({}, 'whr-public') }}</span>
  8. </a>
  9. </li>
  10. {% 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'] %}
  11. <li{% if isOnJobs %} class="active"{% endif %}>
  12. <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 %}">
  13. <i class="font-xl text-current feather-briefcase me-3"></i>
  14. <span>{{ 'sidebar.jobs'|trans({}, 'whr-public') }}</span>
  15. </a>
  16. </li>
  17. {% 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'] %}
  18. <li{% if isOnCompanies %} class="active"{% endif %}>
  19. <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 %}">
  20. <i class="font-xl text-current feather-globe me-3"></i>
  21. <span>{{ 'sidebar.companies'|trans({}, 'whr-public') }}</span>
  22. </a>
  23. </li>
  24. {% if isCandidateUser %}
  25. <li>
  26. <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">
  27. <i class="font-xl text-current feather-heart me-3"></i>
  28. <span>{{ 'sidebar.favorites'|trans({}, 'whr-public') }}</span>
  29. </a>
  30. </li>
  31. {% endif %}
  32. </ul>
  33. </div>