add no of goods col

This commit is contained in:
Sanj 2012-04-22 17:39:56 +05:30
parent 27efd35b31
commit 767b262c16

View File

@ -81,7 +81,8 @@ No of results: {{ no_of_results }}   displaying page {{ page }} of {{ no_of
<td>Captain</td>
<td>Owner</td>
<td>Port</td>
<td>Country</td>
<td>Country</td>
<td>No of Goods</td>
</thead>
{% for s in ships %}
<tr class="shipRow">
@ -93,10 +94,11 @@ No of results: {{ no_of_results }} &nbsp; displaying page {{ page }} of {{ no_of
<td>{{ s.get_owner }}</td>
<td>{{ s.port }}</td>
<td>{{ s.country|default:"" }}</td>
<td>{{ s.no_of_goods }}</td>
</tr>
<tr class="goodRow">
<td></td>
<td colspan="7">
<td colspan="8">
<table class="goodTable">
{% for good in s.good_set.all %}
<tr>