{% extends "auctions/layout.html" %} {% block body %}

WatchList

{% if Watchlistings %}
{% for listing in Watchlistings %}
Preview not found

{{ listing.title }}


{% if not listing.closed %}

{% for bidding in listing.bidding_listing.all %} bid price : ${{bidding.bid_value}}
Last bid by: {{bidding.user}}
created by: {{listing.user}}
{% endfor %} created on {{listing.date_added}}

{% else %}

CLOSED
This listing is over.

{% for bidding in listing.bidding_listing.all %} {% if user == bidding.user %} You won this listing!!! {% else %} This is won by @{{ bidding.user }} for ${{bidding.bid_value}} {% endif %} {% endfor %}

{% endif %}
{% if listing.closed %} {% elif user.is_authenticated %}
{% csrf_token %} {% if user not in listing.watchlists.all %} {% else %} {% endif %}
{% else %} log in to watch this listing {% endif %}
{% endfor %}
{% else %}

There seems to be no listing you are watching !!

{% endif %} {% endblock %}