Distinguish links from content

This commit is contained in:
Corinne Durrmeyer 2024-08-08 11:23:56 +02:00
parent e358f196e9
commit 9e87662c8f
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
6 changed files with 21 additions and 13 deletions

View file

@ -16,5 +16,5 @@
= render partial: 'shared/help/dropdown_items/service_item',
locals: { service: dossier.procedure.service, title: title }
%li
%li.flex
= render partial: 'shared/help/dropdown_items/faq_item'

View file

@ -1,5 +1,4 @@
= link_to t("links.common.faq.url"), class: 'flex', title: new_tab_suffix(t('help_dropdown.general_title')), **external_link_attributes do
%span.fr-icon-question-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" }
.fr-pl-1w
%h1= t('help_dropdown.problem_title')
%p= t('help_dropdown.problem_description')
%span.fr-icon-question-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" }
.fr-pl-1w
%h1= t('help_dropdown.problem_title')
= link_to t('help_dropdown.problem_description'), t("links.common.faq.url"), title: new_tab_suffix(t('help_dropdown.problem_description')), **external_link_attributes

View file

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