templates/Jobs/_job_application_btn.html.twig line 1

Open in your IDE?
  1. {% if not role.connected %}
  2.     <a title="{{ "Je postule"|trans }}" class='os-click {{ full is defined ? "bg-warning white medium" : "bg-gray black-alt" }} p-alt {{desktop('left-20 vt-10-in hz-20-in radius-5')}} {{mobile('vt-10-in mw100 semibold hz-20-in radius-5 half-5 flex col middle center')}} nowrap'
  3.        data-target="#login-box" data-target-path="{{ path('job-apply', {uuid:job.uuid}) }}" >
  4.         {{ "Je postule"|trans }}
  5.     </a>
  6. {% elseif job is jobAlreadySubscribe %}
  7.     <a title="{{ "Vous aviez déjà postulé"|trans }}" class='{{ full is defined ? "bg-warning white medium" : "bg-gray black-alt" }} disable p-alt {{desktop('left-20 vt-10-in hz-20-in radius-5')}} {{mobile('vt-10-in mw100 semibold hz-20-in radius-5 half-5 flex col middle center')}} nowrap'>
  8.         {{ "Vous aviez déjà postulé"|trans }}
  9.     </a>
  10. {% elseif job is jobInfuture %}
  11.     <a title="Démarre le {{ job.startAt|date }}" class='{{ full is defined ? "bg-warning white medium" : "bg-gray black-alt" }} disable p-alt {{desktop('left-20 vt-10-in hz-20-in radius-5')}} {{mobile('vt-10-in mw100 semibold hz-20-in radius-5 half-5 flex col middle center')}} nowrap'>
  12.         {{ "Je postule"|trans }}
  13.     </a>
  14. {% elseif job is jobSubscribable %}
  15.     <a class='bg-warning white medium p-alt {{desktop('left-20 vt-10-in hz-20-in radius-5')}} {{mobile('vt-10-in mw100 semibold hz-20-in radius-5 half-5 flex col middle center')}} nowrap'
  16.        href='{{ path('job-apply', {uuid:job.uuid}) }}'>
  17.         {{ "Je postule"|trans }}
  18.     </a>
  19. {% else %}
  20.     <a title="Clôturée le {{ job.endAt|date }}" class='bg-warning disable p-alt white {{desktop('left-20 vt-10-in hz-20-in radius-5')}} {{mobile('vt-10-in mw100 semibold hz-20-in radius-5 half-5 flex col middle center')}} nowrap'>
  21.         {{ "Je postule"|trans }}
  22.     </a>
  23. {% endif %}