aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/shipments
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-09-30 02:08:19 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-09-30 02:08:19 +0300
commit4194e8ee556f3109057fab0afb7894927b52713e (patch)
tree996cb5de38706b07bb24f519d868b29da54c0b67 /servo/templates/shipments
parent03326a06e12de1af575c8e4b2de7e3824f6eaace (diff)
downloadServo-4194e8ee556f3109057fab0afb7894927b52713e.tar.gz
Servo-4194e8ee556f3109057fab0afb7894927b52713e.tar.bz2
Servo-4194e8ee556f3109057fab0afb7894927b52713e.zip
Cleanup
Diffstat (limited to 'servo/templates/shipments')
-rwxr-xr-xservo/templates/shipments/list_bulk_returns.html6
-rwxr-xr-xservo/templates/shipments/list_incoming.html4
-rwxr-xr-xservo/templates/shipments/list_returns.html6
3 files changed, 10 insertions, 6 deletions
diff --git a/servo/templates/shipments/list_bulk_returns.html b/servo/templates/shipments/list_bulk_returns.html
index f2c4843..fd393bb 100755
--- a/servo/templates/shipments/list_bulk_returns.html
+++ b/servo/templates/shipments/list_bulk_returns.html
@@ -26,6 +26,10 @@
<td>{{ i.num_parts }}</td>
<td>{{ i.dispatched_by }}<br/><small class="muted">{{ i.dispatched_at|date:"SHORT_DATETIME_FORMAT" }}</small></td>
</tr>
+ {% empty %}
+ <tr>
+ <td colspan="5" class="muted empty">{% trans "No bulk returns" %}</td>
+ </tr>
{% endfor %}
</tbody>
</table>
@@ -33,5 +37,5 @@
{% endblock second_column %}
{% block breadcrumb %}
-<li class="active"><span class="divider">/</span> {% trans "Browse Returns" %}</li>
+ <li class="active"><span class="divider">/</span> {% trans "Browse Returns" %}</li>
{% endblock breadcrumb %}
diff --git a/servo/templates/shipments/list_incoming.html b/servo/templates/shipments/list_incoming.html
index 5d2d784..3c9da41 100755
--- a/servo/templates/shipments/list_incoming.html
+++ b/servo/templates/shipments/list_incoming.html
@@ -17,7 +17,7 @@
<th>{% trans "Part" %}</th>
<th>{% trans "Service Order" %}</th>
<th>{% trans "Confirmation" %}</th>
- <th>{% trans "Ordered" %}</th>
+ <th>{% trans "Ordered By" %}</th>
</tr>
</thead>
<tbody class="searchable">
@@ -57,5 +57,5 @@
{% endblock second_column %}
{% block breadcrumb %}
-<li class="active"><span class="divider">/</span><a href="{% url 'shipments-list_incoming' %}">{% trans "Incoming" %}</a></li>
+ <li class="active"><span class="divider">/</span><a href="{% url 'shipments-list_incoming' %}">{% trans "Incoming" %}</a></li>
{% endblock breadcrumb %}
diff --git a/servo/templates/shipments/list_returns.html b/servo/templates/shipments/list_returns.html
index 7d57286..029d236 100755
--- a/servo/templates/shipments/list_returns.html
+++ b/servo/templates/shipments/list_returns.html
@@ -18,7 +18,7 @@
</tr>
</thead>
<tbody>
- {% for p in parts %}
+ {% for p in parts %}
<tr>
<td><input type="checkbox" name="items" value="{{ p.returnOrderNumber }}"/></td>
<td>{{ p.partNumber }}</td>
@@ -28,11 +28,11 @@
<td>{{ p.registeredForReturn }}</td>
<td>{{ p.kbbSerialNumber }}</td>
</tr>
- {% empty %}
+ {% empty %}
<tr>
<td colspan="7" class="muted empty">{% trans "No parts pending return" %}</td>
</tr>
- {% endfor %}
+ {% endfor %}
</tbody>
</table>
<button type="submit" class="btn btn-primary pull-right" disabled="disabled">{% trans "Submit" %}</button>