{% if productList.platform == 'FINLAND' %} {% set productURL = productList.url|with_utm( { 'utm_source': 'kvk-se', 'utm_medium': 'cross-publishing', 'utm_campaign': utmCategoriesList, 'utm_content': productList.id } ) %}{% else %} {% set productURL = path('app.legacy.auction.object', {'produrlname': productList.urlname}) %}{% endif %}{# Company slider card vars start #}{% set favoriteMarkings = -1 %}{# Use -1 for falsey #}{# Temporary for future work #}{% set reservePrice = -1 %}{# Use -1 for falsey #}{# Temporary for future work #}{% set isVendor = userType == 'seller' %}{# Company slider card vars end #}<article id="product_card--{{productList.id}}" class="product_card {{ productList.classList|join(' ') }} {% if isVendor %} product_card--is-vendor{% endif %} {{ classes }}" {% for key, value in attributes %} {{ key }}="{{ value }}" {% endfor %}> <div id="object_li_{{productList.id}}" class="isListing {{productList.ended or showClosed ? 'object-closed' : ''}} "> <a href="{{ productURL }}" title="{{productList.name|escape('html')}}"> <div class="product_card__listing_img"> <img data-src="{{productList.productImageURL}}" class="lazy" height="213" width="285" alt="{{productList.name|escape('html')}}"> <noscript><img src="{{productList.productImageURL}}" alt="{{productList.name|escape('html')}}"></noscript> {% block imageOverlay %} {% if not productList.ended and showFavorite and not isVendor %} <span class="product_card__mark-fav addFav_{{ productList.id }} {{productList.isFavorite ? 'active' : ''}}" data-name="{{ productList.name|escape('html') }}" data-prod-id="{{ productList.id|escape('html') }}" {{buyerLoggedIn ? "" : " data-no-session "}}> <span></span> </span> {% endif %} {% if isVendor and favoriteMarkings >= 0 %} <span class="product_card__mark-fav"> <span></span> {{ favoriteMarkings }} </span> {% endif %} {% if productList.categoryId is same as restCategoryId and not productList.ended and not showVendorSoldTag %} <div class="product_card__tag product_card__tag--success-dark product_card__tag--top-left"> {{ 'text_label_tag-inventory'|trans }} </div> {% endif %} {% if showVendorSoldTag %} <div class="product_card__tag product_card__tag--danger product_card__tag--top-right"> {{ 'text_label_tag-sold'|trans }} </div> {% endif %} <div class="product_card__ended-tag product_card__tag product_card__tag--info product_card__tag--top-right"> {{ 'text_label_tag-ended'|trans }} </div> <div class="product_card__no-reserve-tag product_card__tag product_card__tag--success product_card__tag--top-left"> {{ 'text_label_page-list-partials_no_reserve'|trans }} </div> <div class="product_card__reserve-reached-tag product_card__tag product_card__tag--success product_card__tag--top-left"> {{ 'text_label_page-list-partials_reserve_reached'|trans }} </div> {% if productList.isBankruptcy %} <div class="product_card__tag product_card__tag--warning product_card__tag--top-left"> {{ 'text_label_tag-bankruptcy'|trans }} </div> {% endif %} <div id="timeleft_{{productList.id}}" class="product_card__tag product_card__tag--bottom-left"> {{productList.auctionend|timeLeft|raw}} </div> {% endblock %} </div> <div class="product_card__info"> {% block body %} <div class="product_card__info-box"> <p class="product_card__title"> {{productList.name}} </p> </div> {% if reservePrice >= 0 %} <div class="product_card__reserve-price"> {{ 'text_res-price_vendor-slider-item'|trans({'state' : 'currency', 'res_price' : reservePrice })|raw }} </div> {% endif %} <div class="product_card__info-box"> <img class="reserve-price__custom-icon" src="/images/icon-map-pin-small-xdark-green.svg" alt="{{ 'text_label_icon-location'|trans }}"> <p class="product_card__info-text">{{productList.municipalityName|default(' ')|raw}}</p> </div> {% endblock %} <div class="product_card__divider"></div> <div class="product_card__info-box product_card__info-box--apart"> {% block currentBid %} <p class="product_card__current-bid notranslate" id="bid_{{ productList.id }}">{{ 'text_label_page-list_bid_no-bid-or-formatted'|trans({'%bid%': productList.maxBid}) }}</p> {% endblock %} {% block currentNbrBids %} <div class="product_card__no-of-bids"> <img class="reserve-price__custom-icon" src="/images/icons/icn-bid.svg" alt="{{ 'text_label_icon-bids'|trans }}"> <p id="antbids_{{ productList.id }}">{{productList.numBids}}</p> </div> {% endblock %} </div> </div> </a> </div></article>