close listing fixes
This commit is contained in:
parent
141491e9dc
commit
42602ff2c7
|
@ -5,7 +5,7 @@
|
|||
<h2>Listing : {{ Listing.title}}</h2>
|
||||
|
||||
<div class="text-right">
|
||||
{% if user.username|stringformat:"s" == Listing.user|stringformat:"s" %}
|
||||
{% if user.username|stringformat:"s" == Listing.user|stringformat:"s" and not Listing.closed %}
|
||||
|
||||
<a class="btn btn-danger" href="{% url 'close_bid' Listing.title %}" role="button" style="display:inline;">Close this Listing</a>
|
||||
{% endif %}
|
||||
|
|
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
Loading…
Reference in New Issue