diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-26 22:43:58 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-26 22:43:58 +0200 |
commit | d6058ee73317a26b2f41e3ecf83fdda2978382cb (patch) | |
tree | 7a10957a263e985774ae1e5884c30cc89ff9fc3e /servo/views | |
parent | 17406512220c08fbe6e2bce74fe75dcee7db218a (diff) | |
download | Servo-d6058ee73317a26b2f41e3ecf83fdda2978382cb.tar.gz Servo-d6058ee73317a26b2f41e3ecf83fdda2978382cb.tar.bz2 Servo-d6058ee73317a26b2f41e3ecf83fdda2978382cb.zip |
Show default status description if not started
Diffstat (limited to 'servo/views')
-rw-r--r-- | servo/views/checkin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/servo/views/checkin.py b/servo/views/checkin.py index d48c907..a92d25b 100644 --- a/servo/views/checkin.py +++ b/servo/views/checkin.py @@ -190,6 +190,9 @@ def status(request): timeline = order.orderstatus_set.all() if order.status is None: order.status_name = _(u'Waiting to be processed') + status_description = _('Order is waiting to be processed') + else: + status_description = order.status.status.description except Order.DoesNotExist: messages.error(request, _(u'Order %s not found') % code) return render(request, "checkin/status-show.html", locals()) |