{% extends 'base.html' %} {% load determine_platform_fee %} {% block content %}

{{ item.name }}

{% if not item.available %}

This item is currently pending sale. Bidding is temporarily closed.

{% endif %}

Whereabouts: {{ item.whereabouts }}

Creation: {{ item.list_date | date:"d M Y H:i:s" }}

Last Updated: {{ item.last_updated | date:"d M Y H:i:s" }}

Description: {{ item.description }}

Asking Price (XMR): {{ item.ask_price_xmr }}

{% for img in item_images %} {{ img.thumbnail.name }} {% endfor %} {% if item.owner == user %} {% if item.available %}

Edit Delete

{% else %}

Item not available for editing

{% endif %} {% else %} {% if item.available %}

Bid

{% else %}

Item not available for bidding

{% endif %} {% endif %}
{% if item_bids %} {% for bid in item_bids %} {% endfor %}
Bid ID Bid Price (XMR) Platform Fees (XMR) Actions
#{{ bid.id }} {{ bid.bid_price_xmr }} {{ bid.bid_price_xmr | determine_platform_fee }} {% if bid.accepted %} {% if bid.bidder == request.user or bid.item.owner == request.user %} View Sale {% endif %} {% else %} {% if bid.bidder == request.user %} Edit Delete {% elif bid.item.owner == request.user and item.available %} Accept {% endif %} {% endif %}
{% else %}

No bids for this item yet.

{% endif %}
{% endblock %}