From ae317a83e1f94d9cd0ef83a21460791e165cfd4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 21 Feb 2019 12:13:10 +0100 Subject: [PATCH] cartads: add status label for pending files (#30813) --- passerelle/apps/cartads_cs/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/passerelle/apps/cartads_cs/models.py b/passerelle/apps/cartads_cs/models.py index 00e7ff74..ce7902c8 100644 --- a/passerelle/apps/cartads_cs/models.py +++ b/passerelle/apps/cartads_cs/models.py @@ -441,5 +441,6 @@ class CartaDSCS(BaseResource): elif dossier.zip_ready: status_id = _('File ready to be sent') else: - status_label = 'pending' + status_id = 'pending' + status_label = _('Pending') return {'status_id': status_id, 'status_label': status_label, 'extra': extra}