Rename gestionnaire in code to instructeur
This commit is contained in:
parent
6902f84b85
commit
3fde2a6f70
175 changed files with 1162 additions and 1162 deletions
|
@ -6,7 +6,7 @@
|
|||
%ul.procedure-list
|
||||
- @procedures.each do |p|
|
||||
%li.procedure-item.flex.align-start
|
||||
= link_to(gestionnaire_procedure_path(p)) do
|
||||
= link_to(instructeur_procedure_path(p)) do
|
||||
.flex
|
||||
|
||||
.procedure-logo{ style: p.logo.present? ? "background-image: url(#{p.logo.url})" : nil }
|
||||
|
@ -18,7 +18,7 @@
|
|||
%ul.procedure-stats.flex
|
||||
%li
|
||||
%object
|
||||
= link_to(gestionnaire_procedure_path(p, statut: 'a-suivre')) do
|
||||
= link_to(instructeur_procedure_path(p, statut: 'a-suivre')) do
|
||||
- a_suivre_count = @dossiers_a_suivre_count_per_procedure[p.id] || 0
|
||||
.stats-number
|
||||
= a_suivre_count
|
||||
|
@ -26,8 +26,8 @@
|
|||
à suivre
|
||||
%li
|
||||
%object
|
||||
= link_to(gestionnaire_procedure_path(p, statut: 'suivis')) do
|
||||
- if current_gestionnaire.notifications_per_procedure[p.id].present?
|
||||
= link_to(instructeur_procedure_path(p, statut: 'suivis')) do
|
||||
- if current_instructeur.notifications_per_procedure[p.id].present?
|
||||
%span.notifications{ 'aria-label': "notifications" }
|
||||
- followed_count = @followed_dossiers_count_per_procedure[p.id] || 0
|
||||
.stats-number
|
||||
|
@ -36,8 +36,8 @@
|
|||
= t('pluralize.followed', count: followed_count)
|
||||
%li
|
||||
%object
|
||||
= link_to(gestionnaire_procedure_path(p, statut: 'traites')) do
|
||||
- if current_gestionnaire.notifications_per_procedure(:termine)[p.id].present?
|
||||
= link_to(instructeur_procedure_path(p, statut: 'traites')) do
|
||||
- if current_instructeur.notifications_per_procedure(:termine)[p.id].present?
|
||||
%span.notifications{ 'aria-label': "notifications" }
|
||||
- termines_count = @dossiers_termines_count_per_procedure[p.id] || 0
|
||||
.stats-number
|
||||
|
@ -46,7 +46,7 @@
|
|||
= t('pluralize.processed', count: termines_count)
|
||||
%li
|
||||
%object
|
||||
= link_to(gestionnaire_procedure_path(p, statut: 'tous')) do
|
||||
= link_to(instructeur_procedure_path(p, statut: 'tous')) do
|
||||
- dossier_count = @dossiers_count_per_procedure[p.id] || 0
|
||||
.stats-number
|
||||
= dossier_count
|
||||
|
@ -54,7 +54,7 @@
|
|||
= t('pluralize.case', count: dossier_count)
|
||||
%li
|
||||
%object
|
||||
= link_to(gestionnaire_procedure_path(p, statut: 'archives')) do
|
||||
= link_to(instructeur_procedure_path(p, statut: 'archives')) do
|
||||
- archived_count = @dossiers_archived_count_per_procedure[p.id] || 0
|
||||
.stats-number
|
||||
= archived_count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue