src/AppBundle/Resources/views/AreaIncludes/products/operating-concepts/item-card.html.twig line 1

Open in your IDE?
  1. {% import '@FoxHabbitBasis/Macro/wrap.html.twig' as wrap_macro %}
  2. {{ wrap_macro.wrapperOpen( config.col_wrapper, _context) }}
  3.     {{ wrap_macro.wrapperOpen( config.number_wrapper, _context) }}
  4.         {{ number| format_number({min_integer_digit:'2'}) }}
  5.     {{ wrap_macro.wrapperClose( config.number_wrapper) }}
  6.     {{ wrap_macro.wrapperOpen( config.content_wrapper, _context) }}
  7.         {{ wrap_macro.wrapperOpen( config.headline_wrapper, _context) }}
  8.             {{ wrap_macro.wrapperOpen( config.headline_name_wrapper, _context) }}
  9.                 {{ operatingConcept.name }}
  10.             {{ wrap_macro.wrapperClose( config.headline_name_wrapper) }}
  11.             {% if operatingConcept.description %}
  12.                 {{ wrap_macro.wrapperOpen( config.headline_description_wrapper, _context) }}
  13.                   {{ operatingConcept.description|raw }}
  14.                 {{ wrap_macro.wrapperClose( config.headline_description_wrapper) }}
  15.             {% endif %}
  16.         {{ wrap_macro.wrapperClose( config.headline_wrapper) }}
  17.         {% if operatingConcept.image is defined and operatingConcept.image is not null %}
  18.             {{ wrap_macro.wrapperOpen( config.image_wrapper, _context) }}
  19.                 {{ operatingConcept.image.getThumbnail('product-details-concept-operation-image').getHtml({imgAttributes:{class: 'w-100 img-fluid'}})|raw }}
  20.             {{ wrap_macro.wrapperClose( config.image_wrapper) }}
  21.         {% endif %}
  22.         {{ wrap_macro.wrapperOpen( config.benefits_wrapper, _context) }}
  23.             {% if operatingConcept.keyBenefits is not null  %}
  24.                 {{ wrap_macro.wrapperOpen( config.benefits_check_wrapper, _context) }}
  25.                     {{ operatingConcept.keyBenefits | raw }}
  26.                 {{ wrap_macro.wrapperClose( config.benefits_check_wrapper) }}
  27.             {% endif %}
  28.             {% if operatingConcept.plusBenefits is not null  %}
  29.                 {{ wrap_macro.wrapperOpen( config.benefits_plus_wrapper, _context) }}
  30.                     {{ operatingConcept.plusBenefits | raw }}
  31.                 {{ wrap_macro.wrapperClose( config.benefits_plus_wrapper) }}
  32.             {% endif %}
  33.         {{ wrap_macro.wrapperClose( config.benefits_wrapper) }}
  34.     {{ wrap_macro.wrapperClose( config.content_wrapper) }}
  35. {{ wrap_macro.wrapperClose( config.col_wrapper) }}