Commit 913ccdc8 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Renamed listing and lookout management links.

parent b5747ef0
......@@ -41,7 +41,12 @@ function insert_target( source, target ){
<div class="row">
<div class="col-md-12">
{% if seller == request.user.seller %}
<h3>Listings (<a href="{%url 'create_listing'%}">Create</a>)</h3>
{% else %}
{% endif %}
{% if listings %}
<div class="table-responsive">
......@@ -126,23 +131,32 @@ function insert_target( source, target ){
{% if seller.user = request.user %}
<div class="row">
<div class="col-md-12">
<h3>Lookouts (<a href="{% url 'lookouts' %}">Edit</a>)</h3>
<h3>Your Lookouts (<a href="{% url 'create_lookout' request.user.username %}">Create</a>)</h3>
{% if lookouts %}
<div class="table-responsive">
<table class="table table-bordered">
<th class="col-md-2">Date Created</th>
<th class="col-md-10">ISBN</th>
<th class="col-md-1 text-center">ISBN</th>
<th class="col-md-10">Title</th>
<th class="col-md-1 text-center">Action</th>
{% for lookout in lookouts %}
<td class="text-center">{{lookout.ISBN}}</td>
<td class="text-center">
<a href="{% url 'delete_lookout' request.user.username %}">
{% endfor %}
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