Template source: featured_item_grid/_auction_grid_simplified.html

{% load i18n %}
{% load auction_images %}
{% load static %}
{% load interact_bar %}
{% load get_setting %}
{% load time_format %}

<article id="auction-{{ auction.id }}" class="{{ singlecol|default:'span3' }} {{ layout|default:"listing-container" }} grid-item listing-container-no-masonry ">
      <section class="indiv-auction-content relative">
          {% with auction_images|get_auction_image_simplified:auction as auction_image %}
            <div class="listing-image">
                {% if auction_image %}
                <img src="{{ auction_image.image_url }}" width="270" height="270" />
                {% else %}
                <img src="{% static "images/global/imgNoImage.png" %}" />
                {% endif %}
                <div class="loading"></div>
            </div>
          {% endwith %}
            <div class="wrapper">
              <h4 class="lato no-uppercase  ellipsis bold">{{ auction.name|truncatewords:4 }}</h4>
              <p class="description ellipsis">{{ auction.description|truncatewords:20}}</p>
              {% if auction.state == 'pending' %}
              <h3 class="uppercase bold no-margin small">{% format_localtime auction.starts_at as date %}{% blocktrans %} Starting: {{date}}{% endblocktrans %}</h3>
              {% elif auction.state == 'started' %}
              <h3 class="uppercase bold no-margin small">{% format_localtime auction.ends_at as date %}{% blocktrans %} Closing: {{date}}{% endblocktrans %}</h3>
              {% else %}
              <h3 class="uppercase bold no-margin small">{% format_localtime auction.ends_at as date %}{% blocktrans %} Closed: {{date}}{% endblocktrans %}</h3>
              {% endif %}
              <hr>
              <p class="text-center"><a href="{% url 'auction_details' auction.id %}" class="btn btn-wide btn-green">{% trans 'View Auction' %}</a></p>
            </div>
      </section>
  </article>