correctif(procedure/statistiques): utilise le nouveau composant pour afficher les delais de traitement
This commit is contained in:
parent
b56d5199e2
commit
8650744064
3 changed files with 1 additions and 6 deletions
|
@ -4,10 +4,7 @@
|
||||||
- if @usual_traitement_time.present?
|
- if @usual_traitement_time.present?
|
||||||
.stat-card.big-number-card
|
.stat-card.big-number-card
|
||||||
%span.big-number-card-title= t('.usual_processing_time')
|
%span.big-number-card-title= t('.usual_processing_time')
|
||||||
%span.big-number-card-number
|
= render Procedure::EstimatedDelayComponent.new(procedure: @procedure)
|
||||||
= distance_of_time_in_words(@usual_traitement_time)
|
|
||||||
%span.big-number-card-detail
|
|
||||||
= t('.processing_time_description', percentile: ProcedureStatsConcern::USUAL_TRAITEMENT_TIME_PERCENTILE, span: ProcedureStatsConcern::NB_DAYS_RECENT_DOSSIERS, days: distance_of_time_in_words(@usual_traitement_time))
|
|
||||||
|
|
||||||
.stat-cards
|
.stat-cards
|
||||||
.stat-card.stat-card-half.pull-left
|
.stat-card.stat-card-half.pull-left
|
||||||
|
|
|
@ -839,7 +839,6 @@ en:
|
||||||
|
|
||||||
stats:
|
stats:
|
||||||
usual_processing_time: "Usual processing time"
|
usual_processing_time: "Usual processing time"
|
||||||
processing_time_description: "%{percentile}% of submitted files in the last %{span} days were processed in less than %{days}."
|
|
||||||
processing_time: "Processing time"
|
processing_time: "Processing time"
|
||||||
since_procedure_creation: "since the procedure was created"
|
since_procedure_creation: "since the procedure was created"
|
||||||
nb_days: "Nb Days"
|
nb_days: "Nb Days"
|
||||||
|
|
|
@ -895,7 +895,6 @@ fr:
|
||||||
|
|
||||||
stats:
|
stats:
|
||||||
usual_processing_time: "Temps de traitement usuel"
|
usual_processing_time: "Temps de traitement usuel"
|
||||||
processing_time_description: "%{percentile}% des demandes des %{span} derniers jours ont été traitées en moins de %{days}."
|
|
||||||
processing_time: "Temps de traitement"
|
processing_time: "Temps de traitement"
|
||||||
since_procedure_creation: "depuis le lancement de la démarche"
|
since_procedure_creation: "depuis le lancement de la démarche"
|
||||||
nb_days: "Nb Jours"
|
nb_days: "Nb Jours"
|
||||||
|
|
Loading…
Reference in a new issue