{% if not role.connected %}
<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'
data-target="#login-box" data-target-path="{{ path('job-apply', {uuid:job.uuid}) }}" >
{{ "Je postule"|trans }}
</a>
{% elseif job is jobAlreadySubscribe %}
<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'>
{{ "Vous aviez déjà postulé"|trans }}
</a>
{% elseif job is jobInfuture %}
<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'>
{{ "Je postule"|trans }}
</a>
{% elseif job is jobSubscribable %}
<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'
href='{{ path('job-apply', {uuid:job.uuid}) }}'>
{{ "Je postule"|trans }}
</a>
{% else %}
<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'>
{{ "Je postule"|trans }}
</a>
{% endif %}