2023-11-09 15:02:43 +01:00
|
|
|
%nav.fr-tabs.mt-3
|
2024-11-19 20:17:05 +00:00
|
|
|
%ul.fr-tabs__list.fr-pl-0{ role: 'tablist' }
|
2024-11-05 17:21:28 +01:00
|
|
|
= tab_item(i18n_tab_from_status('a-suivre'),
|
2021-12-24 17:10:50 +00:00
|
|
|
instructeur_procedure_path(procedure, statut: 'a-suivre'),
|
|
|
|
active: statut == 'a-suivre',
|
|
|
|
badge: number_with_html_delimiter(a_suivre_count))
|
2021-12-03 16:21:41 +01:00
|
|
|
|
2024-11-05 17:21:28 +01:00
|
|
|
= tab_item(i18n_tab_from_status('suivis', count: suivis_count),
|
2021-12-24 17:10:50 +00:00
|
|
|
instructeur_procedure_path(procedure, statut: 'suivis'),
|
|
|
|
active: statut == 'suivis',
|
|
|
|
badge: number_with_html_delimiter(suivis_count),
|
|
|
|
notification: has_en_cours_notifications)
|
2021-12-03 16:21:41 +01:00
|
|
|
|
2024-11-05 17:21:28 +01:00
|
|
|
= tab_item(i18n_tab_from_status('traites', count: traites_count),
|
2021-12-24 17:10:50 +00:00
|
|
|
instructeur_procedure_path(procedure, statut: 'traites'),
|
|
|
|
active: statut == 'traites',
|
|
|
|
badge: number_with_html_delimiter(traites_count),
|
|
|
|
notification: has_termine_notifications)
|
2021-12-03 16:21:41 +01:00
|
|
|
|
2024-11-05 17:21:28 +01:00
|
|
|
= tab_item(i18n_tab_from_status('tous'),
|
2021-12-24 17:10:50 +00:00
|
|
|
instructeur_procedure_path(procedure, statut: 'tous'),
|
|
|
|
active: statut == 'tous',
|
|
|
|
badge: number_with_html_delimiter(tous_count))
|
2021-12-03 16:21:41 +01:00
|
|
|
|
2021-12-24 17:10:50 +00:00
|
|
|
- if procedure.procedure_expires_when_termine_enabled
|
2024-11-05 17:21:28 +01:00
|
|
|
= tab_item(i18n_tab_from_status('expirant', count: expirant_count),
|
2021-12-24 17:10:50 +00:00
|
|
|
instructeur_procedure_path(procedure, statut: 'expirant'),
|
|
|
|
active: statut == 'expirant',
|
|
|
|
badge: number_with_html_delimiter(expirant_count))
|
2021-12-03 16:21:41 +01:00
|
|
|
|
2024-11-05 17:21:28 +01:00
|
|
|
= tab_item(i18n_tab_from_status('archives'),
|
2021-12-24 17:10:50 +00:00
|
|
|
instructeur_procedure_path(procedure, statut: 'archives'),
|
|
|
|
active: statut == 'archives',
|
2024-11-05 17:21:28 +01:00
|
|
|
html_class: 'fr-icon-folder-2-line fr-tabs__tab--icon-left')
|
2024-12-18 15:12:58 +00:00
|
|
|
|
2024-11-05 17:21:28 +01:00
|
|
|
= tab_item(i18n_tab_from_status('supprimes'),
|
2024-12-18 15:12:58 +00:00
|
|
|
instructeur_procedure_path(procedure, statut: 'supprimes'),
|
|
|
|
active: statut == 'supprimes',
|
2024-11-05 17:21:28 +01:00
|
|
|
html_class: 'fr-icon-delete-line fr-tabs__tab--icon-left')
|