Template source: browse/auction_listings.html

{% extends "listings.html" %}
{% load i18n %}

{% block listing-view-style-toggle %}
{% endblock %}

{% block no-results-block %}
<div class="row-fluid">
  <div class="span10">
    <div class="{% if no_listings_class %}{{ no_listings_class }}{% else %}results-no-listings appendtop-50 appendbottom-50{% endif %}">
    {% if auction.is_paused %}
      <p class="appendtop-10 no-uppercase light-grey text-md">{% trans "This auction is paused and not visible to the public." %}</p>
    {% elif auction.is_closed %}
      <p class="appendtop-10 no-uppercase light-grey text-md">{% trans "Sorry. There are no items available for this auction." %}</p>
    {% elif auction.is_started %}
      {% if initial.is_blank %}
        <p class="appendtop-10 no-uppercase light-grey text-md">{% trans "Sorry. There are no items available for this auction, but stay tuned!" %}</p>
      {% else %}
        <span class="appendtop-10 no-uppercase light-grey text-md">
            {% blocktrans with auction=auction.name %}
            <p>Sorry. There were no results in the auction <strong>{{ auction }}</strong> with the filters you have selected.</p>
            {% endblocktrans %}
            <p><a href="{% url 'auction_details' auction.id %}" class="btn btn-green">{% trans "Show All Auction Items" %}</a></p>
        </span>
      {% endif %}

    {% else %}
      <p class="appendtop-10 no-uppercase light-grey text-md">{% trans "Sorry. There are no items available for this auction, but stay tuned!" %}</p>
    {% endif %}
    </div>
  </div>
</div>
{% endblock %}