{% load humanize %} {% for p in listings %}
Premium Domain
{{ p.name }} {% if p.auction_status == 'reserved' %} Reserved {% elif p.auction_status == 'sold' %} Sold {% elif p.badge %} {{ p.badge }} {% endif %}
{% if p.sale_method == 'offer' %} {% if p.auction_min_offer %} £{{ p.auction_min_offer|intcomma }} Make an Offer {% else %} Make an Enquiry {% endif %} {% else %} {% if p.price %} £{{ p.price|intcomma }} Buy Now {% else %} View Details {% endif %} {% endif %}
{% endfor %} {% if listings.has_next %}
{% endif %}