demarches-normaliennes/app/views/users/dossiers/show/_estimated_delay.html.haml

10 lines
621 B
Text
Raw Normal View History

/ 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
- if procedure.usual_traitement_time && show_time_means
- cache(procedure, expires_in: 1.day) do
%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)}.