From 8786a7e2d04469184b4975e47165916457c26e1c Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 31 Oct 2017 16:40:52 -0400 Subject: Confirmation for attachment removal. Show that there are no invoices if empty, robots.txt --- app/dispatch/templates/dispatch/invoice/list.html | 13 ++++++++++++- app/dispatch/templates/dispatch/loads/detail.html | 8 +++++--- 2 files changed, 17 insertions(+), 4 deletions(-) (limited to 'app/dispatch/templates') diff --git a/app/dispatch/templates/dispatch/invoice/list.html b/app/dispatch/templates/dispatch/invoice/list.html index c068cc5..d98fb5a 100644 --- a/app/dispatch/templates/dispatch/invoice/list.html +++ b/app/dispatch/templates/dispatch/invoice/list.html @@ -22,7 +22,7 @@ - {% for invoice in object_list %} + {% for invoice in object_list %} {{invoice.user}} {{invoice.owner}} @@ -33,6 +33,17 @@ {{invoice.total}} View + {% empty %} + + No Invoices Found + + + + + + + + {% endfor %} diff --git a/app/dispatch/templates/dispatch/loads/detail.html b/app/dispatch/templates/dispatch/loads/detail.html index 3b2ba8d..5be54a1 100644 --- a/app/dispatch/templates/dispatch/loads/detail.html +++ b/app/dispatch/templates/dispatch/loads/detail.html @@ -86,9 +86,11 @@ {{p.description}} - Delete - - Download +
+ Delete + + Download +
{% endfor %} -- cgit v1.2.3