Remove legacy code

This commit is contained in:
Corinne Durrmeyer 2024-07-31 10:22:59 +02:00
parent 87ab67fee5
commit 5501be17c6
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
5 changed files with 27 additions and 33 deletions

View file

@ -23,8 +23,3 @@
color: $blue-france-500; color: $blue-france-500;
} }
} }
.help-dropdown-service-item {
margin-top: $default-spacer;
line-height: 18px;
}

View file

@ -1,5 +1,5 @@
= mail_to CONTACT_EMAIL, role: 'menuitem' do = mail_to CONTACT_EMAIL, role: 'menuitem' do
%span.fr-icon-mail-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" } %span.fr-icon-mail-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" }
.dropdown-description.fr-text--sm .fr-pl-1w
%span.help-dropdown-title= t('help_dropdown.technical_contact_title') %h1.fr-text--sm= t('help_dropdown.technical_contact_title')
%p.fr-text--sm= t('help_dropdown.technical_contact_description', contact_email: CONTACT_EMAIL) %p.fr-text--sm= t('help_dropdown.technical_contact_description', contact_email: CONTACT_EMAIL)

View file

@ -1,6 +1,6 @@
= link_to t("links.common.faq.url"), title: new_tab_suffix(t('help_dropdown.general_title')), **external_link_attributes, role: 'menuitem' do = link_to t("links.common.faq.url"), title: new_tab_suffix(t('help_dropdown.general_title')), **external_link_attributes, role: 'menuitem' do
%span.fr-icon-question-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" } %span.fr-icon-question-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" }
.dropdown-description.fr-text--sm .fr-pl-1w.fr-text--sm
%span.help-dropdown-title %span.help-dropdown-title
= t('help_dropdown.problem_title') = t('help_dropdown.problem_title')
%p.fr-text--sm= t('help_dropdown.problem_description') %p.fr-text--sm= t('help_dropdown.problem_description')

View file

@ -1,5 +1,5 @@
= link_to messagerie_dossier_path(dossier), role: 'menuitem' do = link_to messagerie_dossier_path(dossier), role: 'menuitem' do
%span.fr-icon-mail-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" } %span.fr-icon-mail-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" }
.dropdown-description.fr-text--sm .fr-pl-1w
%span.help-dropdown-title= title %h1.fr-text--sm= title
%p.fr-text--sm= t('help_dropdown.contact_instructeur') %p.fr-text--sm= t('help_dropdown.contact_instructeur')

View file

@ -1,24 +1,23 @@
%span.fr-icon-user-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" } %span.fr-icon-user-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" }
.dropdown-description.fr-text--sm .fr-pl-1w
%span.help-dropdown-title= title %h1.fr-text--sm= title
.help-dropdown-service-action %p.fr-mt-2w.fr-mb-1w.fr-text--sm= t('help_dropdown.contact_administration')
%p.fr-text--sm= t('help_dropdown.contact_administration') %dl.fr-text--sm
%dl.fr-text--sm .flex.fr-mb-1w
.flex.fr-mb-1w %dt.fr-mr-1v
%dt.fr-mr-1v %span.fr-icon-mail-fill.fr-icon--sm{ "aria-hidden": "true" }
%span.help-dropdown-service-item.fr-icon-mail-fill.fr-icon--sm{ "aria-hidden": "true" } %span.visually-hidden= t('layouts.mailers.service_footer.by_email')
%span.visually-hidden= t('layouts.mailers.service_footer.by_email') %dd
%dd = link_to service.email, "mailto:#{service.email}", role: 'menuitem'
= link_to service.email, "mailto:#{service.email}", role: 'menuitem' .flex.fr-mb-1w
.flex.fr-mb-1w %dt.fr-mr-1v
%dt.fr-mr-1v %span.fr-icon-phone-fill.fr-icon--sm{ "aria-hidden": "true" }
%span.help-dropdown-service-item.fr-icon-phone-fill.fr-icon--sm{ "aria-hidden": "true" } %span.visually-hidden= t('layouts.mailers.service_footer.by_phone')
%span.visually-hidden= t('layouts.mailers.service_footer.by_phone') %dd
%dd = link_to service.telephone, service.telephone_url, role: 'menuitem'
= link_to service.telephone, service.telephone_url, role: 'menuitem' .flex
.flex.fr-mb-1w %dt.fr-mr-1v
%dt.fr-mr-1v %span.fr-icon-time-fill.fr-icon--sm{ "aria-hidden": "true" }
%span.help-dropdown-service-item.fr-icon-time-fill.fr-icon--sm{ "aria-hidden": "true" } %span.visually-hidden= t('layouts.mailers.service_footer.schedule')
%span.visually-hidden= t('layouts.mailers.service_footer.schedule') %dd
%dd = service.horaires
= service.horaires