Révision c0ae5eb9
Ajouté par Jérôme Schneider il y a presque 10 ans
calebasse/dossiers/views.py | ||
---|---|---|
272 | 272 |
current_state = ctx['object'].get_current_state() |
273 | 273 |
if current_state.status and STATES_MAPPING.has_key(current_state.status.type): |
274 | 274 |
state = STATES_MAPPING[current_state.status.type] |
275 |
elif current_state.status: |
|
276 |
state = current_state.status.name |
|
275 | 277 |
else: |
276 |
state = current
|
|
278 |
state = "Aucun"
|
|
277 | 279 |
ctx['current_state'] = current_state |
278 | 280 |
ctx['status'], ctx['hc_status'] = get_status(ctx, self.request.user) |
279 | 281 |
ctx['missing_policy'] = False |
Formats disponibles : Unified diff
dossiers: fix state name for tab1