alfortville: add more roles to "copies" dialog (#10457)

This commit is contained in:
Frédéric Péters 2016-03-28 17:23:24 +02:00
parent e8bf6cbcee
commit b71f85c927
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@ class Copies(DetailView):
context['checked_mandatory_avis'] = checked_dicts[Inbox.MANDATORY_AVIS]
context['roles'] = get_wcs_data('api/roles').get('data')
context['roles'] = [x for x in context['roles'] if
x['text'].startswith('Maire') or
x['text'].startswith('Adjoint') or
x['text'].startswith('Conseiller') or
x['text'].startswith('Elu') or
x['text'].startswith('Cabinet') or
x['text'].startswith('Direction') or