2019-04-10 16:29:03 +02:00
|
|
|
/ FIXME: remove the custom procedure switch at some point
|
|
|
|
- procedure_id_for_which_we_hide_the_estimated_delay = 6547
|
|
|
|
- procedure_path_for_which_we_hide_the_estimated_delay = 'deposer-une-offre-de-stage'
|
|
|
|
- show_time_means = procedure.id != procedure_id_for_which_we_hide_the_estimated_delay && procedure.path != procedure_path_for_which_we_hide_the_estimated_delay
|
|
|
|
|
2019-04-10 16:58:33 +02:00
|
|
|
- cache(procedure.id, expires_in: 1.day) do
|
|
|
|
- if procedure.usual_traitement_time && show_time_means
|
2019-04-10 16:29:03 +02:00
|
|
|
%p
|
|
|
|
Habituellement, les dossiers de cette démarche sont traités dans un délai de #{distance_of_time_in_words(procedure.usual_traitement_time)}.
|