{% set workDataInfo =
[
{
iconBlack: 'assets/img/remote-black.svg',
iconWhite: 'assets/img/remote-white.svg',
},
{
iconBlack: 'assets/img/localization.svg',
iconWhite: 'assets/img/localization.svg',
},
{
iconBlack: 'assets/img/chat-black.svg',
iconWhite: 'assets/img/chat-white.svg',
},
{
iconBlack: 'assets/img/time-black.svg',
iconWhite: 'assets/img/time-white.svg'
}
]
%}
{% if offer.workDataRightBlock is not null %}
{% for work in offer.workDataRightBlock %}
<div class="row align-items-center justify-content-center mt-3">
<div class="col-11">
<div class="row salary {{ loop.index % 2 == 1 ? 'bg-octonary' }}">
<div class="col-2">
<img
src="{{ asset(loop.index % 2 == 1 ? workDataInfo[work.type].iconWhite : workDataInfo[work.type].iconBlack ) }}"
{{ work.type != 1 ? 'width="24"' }}
alt=""
{{ work.type == 1 ? 'pb-1' }}
>
</div>
<div class="col-10 uppercase {{ loop.index % 2 == 1 ? 'text-tertiary' }}">
{% if work.type == 0 %}{% if work.toShow <= 100 and work.toShow != null %}{{ 'USER_ZONE.OFFER.PRE_VIEW.REMOTE_WORK'|trans }} : {{ work.toShow }}%{% else %} {{'USER_ZONE.OFFER.PRE_VIEW.REMOTE_WORK'|trans }}{% endif %}{% endif %}
{% if work.type == 1 %}{{ work.toShow }}{% endif %}
{% if work.type == 2 %}{{ 'USER_ZONE.OFFER.PRE_VIEW.REMOTE_RECRUITMENT'|trans }}{% endif %}
{% if work.type == 3 %}{{ 'USER_ZONE.OFFER.PRE_VIEW.GETTING_STARTED'|trans }} {{ work.toShow is null ? 'USER_ZONE.OFFER.PRE_VIEW.IMMEDIATELY'|trans : work.toShow }}{% endif %}
</div>
</div>
</div>
</div>
{% endfor %}
{% endif %}