diff options
Diffstat (limited to 'app/dispatch/templates')
4 files changed, 11 insertions, 17 deletions
diff --git a/app/dispatch/templates/dispatch/generic_load_listing.html b/app/dispatch/templates/dispatch/generic_load_listing.html index 068ee0c..e92176e 100644 --- a/app/dispatch/templates/dispatch/generic_load_listing.html +++ b/app/dispatch/templates/dispatch/generic_load_listing.html @@ -37,18 +37,17 @@ {% endif %} {% if "Amount" in load_headers %} - {% if load.amount == 0 %} - <td><span class="red-text">{{ load.amount }}</span></td> - {% else %} - <td>{{ load.amount }}</td> - {% endif %} - {% endif %} - {% if "Load Number" in load_headers %} - <td>{{ load.load_number }}</td> + {% if load.amount == 0 %} + <td><span class="red-text">{{ load.amount }}</span></td> + {% else %} + <td>{{ load.amount }}</td> + {% endif %} {% endif %} + {% if "Description" in load_headers %} <td>{{ load.description }}</td> {% endif %} + <td class="right-align"> <!-- <a href="{% url 'load_edit' load.id %}" class="btn orange">Edit</a> --> <a href="{% url 'load_detail' load.id %}" class="btn blue">View</a> diff --git a/app/dispatch/templates/dispatch/loads/detail.html b/app/dispatch/templates/dispatch/loads/detail.html index 3368cb6..02dc5a0 100644 --- a/app/dispatch/templates/dispatch/loads/detail.html +++ b/app/dispatch/templates/dispatch/loads/detail.html @@ -1,12 +1,12 @@ {% extends 'dispatch/base.html' %} -{% block title %}Details - {{ object.load_number }}{% endblock %} +{% block title %}Details - {{ object.description }}{% endblock %} {% block content %} {% load dynamic_key %} <div class="row"> <div class="col s12 m6"> - <h1>Details for {{object.load_number}}</h1> + <h1>Details for {{object.description}}</h1> </div> </div> @@ -32,11 +32,6 @@ </tr> <tr> - <th>Load Number</th> - <td>{{object.load_number}}</td> - </tr> - - <tr> <th>Description</th> <td>{{object.description}}</td> </tr> diff --git a/app/dispatch/templates/dispatch/loads/edit.html b/app/dispatch/templates/dispatch/loads/edit.html index f43c242..3049fb6 100644 --- a/app/dispatch/templates/dispatch/loads/edit.html +++ b/app/dispatch/templates/dispatch/loads/edit.html @@ -1,6 +1,6 @@ {% extends 'dispatch/base.html' %} -{% block title %}Edit - {{ object.load_number }}{% endblock %} +{% block title %}Edit - {{ object.description }}{% endblock %} {% block content %} <div class="row"> diff --git a/app/dispatch/templates/dispatch/paperwork/add.html b/app/dispatch/templates/dispatch/paperwork/add.html index 840a387..f828f9c 100644 --- a/app/dispatch/templates/dispatch/paperwork/add.html +++ b/app/dispatch/templates/dispatch/paperwork/add.html @@ -1,6 +1,6 @@ {% extends 'dispatch/base.html' %} -{% block title %}Edit - {{ object.load_number }}{% endblock %} +{% block title %}Edit - {{ object.description }}{% endblock %} {% block content %} <div class="row"> |
