{% set period = ('USER_ZONE.OFFER.PRE_VIEW.PERIOD.' ~ salary.period)|trans %}
{% set settlementType = ('USER_ZONE.OFFER.PRE_VIEW.SETTLEMENT_TYPE.' ~ salary.type) |trans %}
{% set contractTypeShort = ('USER_ZONE.OFFER.PRE_VIEW.CONTRACT_TYPE.' ~ salary.type) |trans %}
{% set contractType = ('USER_ZONE.OFFER.PRE_VIEW.CONTRACT_TYPE_FULL_NAME.' ~ salary.type) |trans %}
{% if salary.from != '' and salary.to != '' %}
<div class="row mt-1">
{% if salary.type == 4 %}
<div class="col-12 mt-2 bold">{{ 'USER_ZONE.OFFER.PRE_VIEW.FREE'|trans }}</div>
<div class="col-12 text-quaternary">{{ 'USER_ZONE.OFFER.PRE_VIEW.INTERNSHIP'|trans }}/{{ 'USER_ZONE.OFFER.PRE_VIEW.PRACTICE'|trans }}</div>
{% else %}
<div class="col-12 mt-2 bold">{{ salary.from|default }}-{{ salary.to|default }} {{ salary.currency|default|upper }}</div>
<div class="col-12 text-quaternary">{{ settlementType|default }} {{ period|default }} {{ contractTypeShort|default }}</div>
{% endif %}
</div>
{% else %}
<div class="row ">
{% if salary.type == 4 %}
<div class="col-12 mt-2 bold">{{ 'USER_ZONE.OFFER.PRE_VIEW.FREE'|trans }}</div>
<div class="col-12 text-quaternary">{{ 'USER_ZONE.OFFER.PRE_VIEW.INTERNSHIP'|trans }}/{{ 'USER_ZONE.OFFER.PRE_VIEW.PRACTICE'|trans }}</div>
{% else %}
<div class="col-12 bold">{{ contractType|default }}</div>
<div class="col-12 text-quaternary">{{ settlementType|default }} {{ period|default }} {{ contractTypeShort|default }}</div>
{% endif %}
</div>
{% endif %}