Template source: listings.html

{% load i18n %}
{% load search_filters %}

{% render_search_filters %}

{% if listings or promoted_listings or featured_buy_now_listings %}
      {% if listing_view_style == 'mapview' %}
        {% include 'listings_styles/mapview.html' %}
      {% elif listing_view_style == 'listview' %}
          {% include 'listings_styles/listview.html' %}
      {% elif listing_view_style == 'gridview' %}
        {% include 'listings_styles/gridview.html' %}
      {% else %} {# default to gridview if all else fails #}
        {% include 'listings_styles/gridview.html' %}
      {% endif %}
{% else %}
{% block no-results-block %}
  <div class="{% if no_listings_class %}{{ no_listings_class }}{% else %}results-no-listings appendtop-25{% endif %}">
    <h3 class="no-margin">{{ brand_messages.NO_LISTINGS_TEXT }}</h3>
    <p class="appendtop-10"><a href="{% if no_listings_action %}{{ no_listings_action }}{% else %}{% url 'browse.views.category.top' %}{% endif %}" class="btn btn-green btn-small bold btn-loader">{% trans "Continue Browsing" %}</a></p>
  </div>
{% endblock %}
{% endif %}