Show the mean instruction time in the Résumé tab

This commit is contained in:
gregoirenovel 2018-09-18 17:45:24 +02:00
parent faff741bf2
commit d55c9dff4d
5 changed files with 34 additions and 4 deletions

View file

@ -34,6 +34,10 @@
%strong
vous recevrez un email
avec le résultat.
- if dossier.procedure.mean_instruction_time
- cache(dossier.procedure, expires_in: 1.week) do
%p
Le temps moyen dinstruction pour cette démarche est de #{distance_of_time_in_words(dossier.procedure.mean_instruction_time)}.
- elsif dossier.accepte?
.accepte