From eff2b856df51dcbd4a038a3f7383bdb0932294c7 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 28 Nov 2023 09:28:09 +0100 Subject: [PATCH] style: replace in-progress legacy icon --- app/assets/images/icons/in-progress-blue.svg | 1 - app/assets/stylesheets/icons.scss | 4 ---- .../administrateurs/procedures/_procedures_list.html.haml | 2 +- app/views/recherche/index.html.haml | 4 ++-- app/views/root/patron.html.haml | 1 - 5 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 app/assets/images/icons/in-progress-blue.svg diff --git a/app/assets/images/icons/in-progress-blue.svg b/app/assets/images/icons/in-progress-blue.svg deleted file mode 100644 index 78efcce07..000000000 --- a/app/assets/images/icons/in-progress-blue.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/stylesheets/icons.scss b/app/assets/stylesheets/icons.scss index 671e770a3..5156d9485 100644 --- a/app/assets/stylesheets/icons.scss +++ b/app/assets/stylesheets/icons.scss @@ -51,10 +51,6 @@ background-image: image-url("icons/edit-folder-blue.svg"); } - &.in-progress { - background-image: image-url("icons/in-progress-blue.svg"); - } - &.bubble { background-image: image-url("icons/bubble.svg"); } diff --git a/app/views/administrateurs/procedures/_procedures_list.html.haml b/app/views/administrateurs/procedures/_procedures_list.html.haml index c5c782181..afe2b59f1 100644 --- a/app/views/administrateurs/procedures/_procedures_list.html.haml +++ b/app/views/administrateurs/procedures/_procedures_list.html.haml @@ -80,7 +80,7 @@ - if !procedure.close? && !procedure.discarded? - menu.with_item do = link_to commencer_url(path: procedure.path), target: :blank, rel: :noopener, role: 'menuitem' do - %span.icon.in-progress + = dsfr_icon('fr-icon-flashlight-line') .dropdown-description %h4= t('administrateurs.dropdown_actions.to_test') diff --git a/app/views/recherche/index.html.haml b/app/views/recherche/index.html.haml index a8a6e90bc..9304f5a41 100644 --- a/app/views/recherche/index.html.haml +++ b/app/views/recherche/index.html.haml @@ -77,13 +77,13 @@ - menu.with_item do = link_to(instructeur_dossier_path(procedure_id, p.dossier_id), role: 'menuitem') do - %span.icon.in-progress> + = dsfr_icon('fr-icon-file-text-fill', :sm) .dropdown-description Voir le dossier - menu.with_item do = link_to(expert_avis_path(procedure_id, @dossier_avis_ids_h[p.dossier_id]), role: 'menuitem') do - %span.icon.in-progress> + = dsfr_icon('fr-icon-chat-3-fill', :sm) .dropdown-description Donner mon avis diff --git a/app/views/root/patron.html.haml b/app/views/root/patron.html.haml index 72740fffc..960d9c911 100644 --- a/app/views/root/patron.html.haml +++ b/app/views/root/patron.html.haml @@ -11,7 +11,6 @@ %span.icon.refuse %span.icon.without-continuation %span.icon.edit - %span.icon.in-progress %span.icon.bubble %span.icon.attached %span.icon.lock