themes/BootstrapChildTheme/SyliusShopBundle/views/Product/Show/_attributesPromotionLabels.html.twig line 1

Open in your IDE?
  1. <div id="appliedAttributes" data-applied-promotions-locale="{{ sylius.localeCode }}" style="position: absolute; top: 0;z-index: 100 !important; right: 5px !important;">
  2.     {% for appliedAttribute in appliedAttributes %}
  3.         {% if(appliedAttribute.getType() == "checkbox") %}
  4.         {# {% if(appliedAttribute.getCode() == "newitem" or appliedAttribute.getCode() == "newitem") %} #}
  5.         <div class="ui blue label promotion_label" style="margin:4px; margin-top: 10px !important; font-weight: bold !important; {% if(appliedAttribute.getCode() == "newitem") %} background-color: #003CBC !important; {% else %} background-color: #DF0000 !important; {% endif %}">
  6.             {# <div class="row ui small sylius_catalog_promotion"> #}
  7.                 {# {{ appliedAttribute.label }}{% if appliedAttribute.description and withDescription %} - {{ appliedAttribute.description }}{% endif %} #}
  8.                 {{ appliedAttribute.name }}
  9.                {# {{ dump(appliedAttribute) }} #}
  10.             {# </div> #}
  11.         </div>
  12.         {% endif %}
  13.     {% endfor %}
  14. </div>