summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2017-06-14 16:27:05 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2017-06-14 16:29:20 (GMT)
commit8788cefe3febbeb4a0e36e2b500e4b2ebedf0f9c (patch)
tree84d274acb6ef77a08f156ae9baa3e6b81081b8f4
parent5ed78d803ee4744bab8faf59d4f363e1df324ba6 (diff)
downloadwelco-8788cefe3febbeb4a0e36e2b500e4b2ebedf0f9c.zip
welco-8788cefe3febbeb4a0e36e2b500e4b2ebedf0f9c.tar.gz
welco-8788cefe3febbeb4a0e36e2b500e4b2ebedf0f9c.tar.bz2
alfortville: also consider DGD* as DGA, missing part (#16644)v0.48
following 416fc86434c57bb997e15a2d1a842ee208a75408
-rw-r--r--welco/contrib/alfortville/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/welco/contrib/alfortville/views.py b/welco/contrib/alfortville/views.py
index 1b08133..2da4bd1 100644
--- a/welco/contrib/alfortville/views.py
+++ b/welco/contrib/alfortville/views.py
@@ -172,8 +172,8 @@ class Copies(DetailView):
context['checked_mandatory_avis'] = checked_dicts[Inbox.MANDATORY_AVIS]
context['roles'] = []
all_roles = get_wcs_data('api/roles').get('data')
- for start in ('Maire', 'Cabinet', 'Adjoint', 'Conseiller', 'Elu', 'DGS', 'DGA',
- 'Direction'):
+ for start in ('Maire', 'Cabinet', 'Adjoint', 'Conseiller', 'Elu', 'DGS', 'DGD',
+ 'DGA', 'Direction'):
roles = [x for x in all_roles if x['text'].startswith(start)]
roles.sort(lambda x, y: cmp(x['text'], y['text']))
context['roles'].extend(roles)