templates/document/areabricks/current-auctions-brick/view.html.twig line 1

Open in your IDE?
  1. {% set anchorId = pimcore_input('anchorId').getData() %}
  2. {% set viewAll =
  3.   pimcore_input('view-all', { placeholder: 'Linktext alle aktuellen Auktionen anzeigen' })
  4. %}
  5. <div>
  6.   <div class="grid gap-4">
  7.     {% for auction in auctions %}
  8.       {% include 'auction/auction_card.html.twig' with { auction: auction } %}
  9.     {% else %}
  10.       {% include 'document/areabricks/current-auctions-brick/empty-tile.html.twig' %}
  11.     {% endfor %}
  12.   </div>
  13.   {% if editmode or pimcore_link('view-full') is not empty %}
  14.     <div class="mt-12">
  15.       {% set link = pimcore_link('view-full', { placeholder: 'Link' }) %}
  16.       {% include 'component/button.html.twig' with {
  17.         text: editmode ? link : link.text,
  18.         type: 'primary',
  19.         icon_after: 'arrow-right-tail',
  20.         attr: { href: link.href, class: 'w-full' }
  21.       } only %}
  22.     </div>
  23.   {% endif %}
  24. </div>