templates/front/offer/offer_preview/includes/bottom/right_block/salary_data/salary_data.twig line 1

Open in your IDE?
  1. {% set k = 0 %}
  2. {% if offer.salary is not null and offer.salary != '' and offer.salary is not empty %}
  3. <div class="row align-items-center justify-content-center mt-3">
  4.     <div class="col-11">
  5.         <div class="row salary align-items-center justify-content-center">
  6.             <div class="col-2 ">
  7.                 <img src="{{ asset('assets/img/wallet.svg') }}" width="23" alt="">
  8.             </div>
  9.             <div class="col-10">
  10.                 <div class="price-list">
  11.                 {% for salary in offer.salary %}
  12.                     {% include 'front/offer/offer_preview/includes/bottom/right_block/salary_data/salary_item.twig' with { salary: salary } %}
  13.                 {% endfor %}
  14.                 </div>
  15.                 {% if offer.salary|length > 2  %}
  16.                     <div class="price-toggle pt-2">
  17.                         <span class="open">{{ 'COMMON.COMMON.COLLAPSE'|trans }}</span>
  18.                         <span class="close">{{ 'COMMON.COMMON.EXPAND'|trans }}</span>
  19.                     </div>
  20.                 {% endif %}
  21.             </div>
  22.         </div>
  23.     </div>
  24. </div>
  25. {% endif %}