From 427c5f1fd2061e229ad06dde4bd5921d296b12d9 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 19 Oct 2017 21:11:29 -0400 Subject: Rename Company to Customer system wide. Let's not do this again --- .../templates/dispatch/companies/detail.html | 8 ++++---- .../templates/dispatch/companies/list.html | 22 +++++++++++----------- .../templates/dispatch/drivers/detail.html | 2 +- .../templates/dispatch/generic_load_listing.html | 8 ++++---- app/dispatch/templates/dispatch/loads/detail.html | 4 ++-- app/dispatch/templates/dispatch/nav.html | 2 +- 6 files changed, 23 insertions(+), 23 deletions(-) (limited to 'app/dispatch/templates') diff --git a/app/dispatch/templates/dispatch/companies/detail.html b/app/dispatch/templates/dispatch/companies/detail.html index 5c643da..3ededbe 100644 --- a/app/dispatch/templates/dispatch/companies/detail.html +++ b/app/dispatch/templates/dispatch/companies/detail.html @@ -12,10 +12,10 @@
@@ -25,10 +25,10 @@
diff --git a/app/dispatch/templates/dispatch/companies/list.html b/app/dispatch/templates/dispatch/companies/list.html index e0a128f..e08837b 100644 --- a/app/dispatch/templates/dispatch/companies/list.html +++ b/app/dispatch/templates/dispatch/companies/list.html @@ -1,14 +1,14 @@ {% extends 'dispatch/base.html' %} -{% block title %}Companies{% endblock %} +{% block title %}Customers{% endblock %} {% block content %}
-

Companies

+

Customers

@@ -21,21 +21,21 @@ - {% for company in object_list %} + {% for customer in object_list %} - - - - + + + + {% empty %} - + {% endfor %}
{{ company.name }}{{ company.address }}{{ company.phone_number }}{{ company.email_address }}{{ customer.name }}{{ customer.address }}{{ customer.phone_number }}{{ customer.email_address }} {% if user.is_superuser %} - Edit + Edit {% endif %} - View + View
No companies yet.
No customers yet.
diff --git a/app/dispatch/templates/dispatch/drivers/detail.html b/app/dispatch/templates/dispatch/drivers/detail.html index 7655470..c4c19e8 100644 --- a/app/dispatch/templates/dispatch/drivers/detail.html +++ b/app/dispatch/templates/dispatch/drivers/detail.html @@ -54,7 +54,7 @@ {% endif %} {% load custom_tags %} -{% listForCommaString "Company,Amount,Load Number,Description" as load_headers %} +{% listForCommaString "Customer,Amount,Description" as load_headers %} {% include "dispatch/generic_load_listing.html" %}
diff --git a/app/dispatch/templates/dispatch/generic_load_listing.html b/app/dispatch/templates/dispatch/generic_load_listing.html index e92176e..235a371 100644 --- a/app/dispatch/templates/dispatch/generic_load_listing.html +++ b/app/dispatch/templates/dispatch/generic_load_listing.html @@ -15,10 +15,10 @@ the fields beforehand i.e. \{\% load custom_tags %} - \{\% listForCommaString "Company,Amount,Load Number,Description" as load_headers %} + \{\% listForCommaString "Customer,Amount,Load Number,Description" as load_headers %} -->