Commit 53381b0d authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added reopen link-- this needs to be straightened out somewhat

parent 93651f19
......@@ -76,6 +76,9 @@ SRCT Bookshare • {{ student.user.first_name }} {{ student.user.last_name }}
<td class="text-center"><h5>
{% if listing.sold %}
<span class="label label-danger">Sold</span>
{% if student.user == request.user %}
<small>(<a href="{% url 'close_listing' listing.slug %}">Reopen</a>)</small>
{% endif %}
{% elif not listing.active %}
<span class="label label-default">Closed</span>
{% else %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment