templates/_parts/realty/_layout-info-list-print.html.twig line 1

Open in your IDE?
  1. {% set class = class|default('') %}
  2. {% set features = features|default([]) %}
  3. <ul class="layout-info-list-print {{ class }}">
  4.     {% for key, value in features %}
  5.         {% if value %}
  6.            <li class="layout-info-list-print__item print__text10 print__body-text print__body-text_grey">
  7.                <div class="layout-info-list-print__key">
  8.                    {{ key }}
  9.                </div>
  10.                {% set renovation = value %}
  11.                {% if renovation == 'без отделки' or renovation == 'Без отделки' %}
  12.                    {% set renovation = "Под отделку" %}
  13.                    <div class="layout-info-list-print__value print__text10 print__body-text">
  14.                         {{ renovation }}
  15.                    </div>
  16.                {% else %}
  17.                    <div class="layout-info-list-print__value print__text10 print__body-text">
  18.                        {{ value }}
  19.                    </div>
  20.                {% endif %}
  21.            </li>
  22.         {% endif %}
  23.     {% endfor %}
  24. </ul>