diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/dispatch/templates/dispatch/companies/detail.html | 6 | ||||
| -rw-r--r-- | app/dispatch/templates/dispatch/companies/list.html | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/app/dispatch/templates/dispatch/companies/detail.html b/app/dispatch/templates/dispatch/companies/detail.html index 7ce73f3..2eaa81f 100644 --- a/app/dispatch/templates/dispatch/companies/detail.html +++ b/app/dispatch/templates/dispatch/companies/detail.html @@ -39,12 +39,14 @@ {% listForCommaString "Vendor,Amount,Description" as load_headers %} {% include "dispatch/generic_load_listing.html" %} <br /> + + <div class="row"> <div class="col s6 left-align"> - <a href="{% url 'customer_detail' object.id %}?date={{previous_week}}" class="btn btn-block-sm blue"><i class="material-icons left">arrow_back</i> Prev</a> + <a href="{% url 'customer_detail' object.id %}?date={{week_dates.previous_week|date:"m/d/Y"}}" class="btn btn-block-sm blue"><i class="material-icons left">arrow_back</i> Prev</a> </div> <div class="col s6 right-align"> - <a href="{% url 'customer_detail' object.id %}?date={{next_week}}" class="btn btn-block-sm blue"><i class="material-icons right">arrow_forward</i> Next</a> + <a href="{% url 'customer_detail' object.id %}?date={{week_dates.next_week|date:"m/d/Y"}}" class="btn btn-block-sm blue"><i class="material-icons right">arrow_forward</i> Next</a> </div> </div> diff --git a/app/dispatch/templates/dispatch/companies/list.html b/app/dispatch/templates/dispatch/companies/list.html index c3be2f5..91aa357 100644 --- a/app/dispatch/templates/dispatch/companies/list.html +++ b/app/dispatch/templates/dispatch/companies/list.html @@ -30,7 +30,7 @@ </tr> </thead> <tbody> - {% for customer in object_list %} + {% for customer in object_list %} <tr> <td class="hide-on-med-and-down">{{ customer.name }}</td> <td class="hide-on-med-and-down"><a href="mailto:{{ customer.email_address }}">{{ customer.email_address }}</a></td> |
