Distinguish links from content
This commit is contained in:
parent
6cd91015cf
commit
c950925a57
2 changed files with 8 additions and 9 deletions
|
@ -10,12 +10,12 @@
|
|||
%ul.fr-footer__top-list
|
||||
- if dossier.present? && dossier.messagerie_available?
|
||||
%li
|
||||
= link_to I18n.t('users.procedure_footer.contact.in_app_mail.link'), messagerie_dossier_path(dossier), class: 'fr-footer__top-link'
|
||||
= link_to I18n.t('users.procedure_footer.contact.in_app_mail.link'), messagerie_dossier_path(dossier), class: 'fr-footer__link'
|
||||
- elsif service.present?
|
||||
%li
|
||||
%span.fr-footer__top-link
|
||||
= I18n.t('users.procedure_footer.contact.email.link')
|
||||
= link_to service.email, "mailto:#{service.email}", class: "fr-footer__top-link"
|
||||
= link_to service.email, "mailto:#{service.email}", class: "fr-footer__link"
|
||||
|
||||
- if service.present?
|
||||
- if service.telephone.present? || service.horaires.present?
|
||||
|
|
|
@ -13,30 +13,29 @@
|
|||
%ul.fr-footer__top-list
|
||||
- politiques.each do |politique|
|
||||
%li
|
||||
= link_to t("users.procedure_footer.legals.data_retention_url"), class: "fr-footer__top-link", title: new_tab_suffix(t("users.procedure_footer.legals.data_retention_title", data_retention_title: politiques_conservation_de_donnees(procedure).join)), **external_link_attributes do
|
||||
= link_to t("users.procedure_footer.legals.data_retention_url"), class: "fr-footer__link", title: new_tab_suffix(t("users.procedure_footer.legals.data_retention_title", data_retention_title: politiques_conservation_de_donnees(procedure).join)), **external_link_attributes do
|
||||
= politique
|
||||
- if procedure.deliberation.attached?
|
||||
%li
|
||||
= link_to url_for(procedure.deliberation), rel: 'noopener', class: 'fr-footer__top-link' do
|
||||
= link_to url_for(procedure.deliberation), rel: 'noopener', class: 'fr-footer__link' do
|
||||
= I18n.t("users.procedure_footer.legals.terms")
|
||||
- else
|
||||
%li
|
||||
= link_to I18n.t("users.procedure_footer.legals.terms"), procedure.cadre_juridique, rel: 'noopener', class: 'fr-footer__top-link'
|
||||
= link_to I18n.t("users.procedure_footer.legals.terms"), procedure.cadre_juridique, rel: 'noopener', class: 'fr-footer__link'
|
||||
|
||||
- if procedure.lien_dpo.present?
|
||||
%li
|
||||
= link_to url_or_email_to_lien_dpo(procedure), rel: 'noopener', class: 'fr-footer__top-link' do
|
||||
= link_to url_or_email_to_lien_dpo(procedure), rel: 'noopener', class: 'fr-footer__link' do
|
||||
= I18n.t("users.procedure_footer.legals.dpo")
|
||||
%li
|
||||
= link_to I18n.t('users.procedure_footer.contact.stats.link'), statistiques_path(procedure.path), class: 'fr-footer__top-link', rel: 'noopener'
|
||||
= link_to I18n.t('users.procedure_footer.contact.stats.link'), statistiques_path(procedure.path), class: 'fr-footer__link', rel: 'noopener'
|
||||
|
||||
|
||||
.fr-col-12.fr-col-sm-4.fr-col-md-4
|
||||
- unless procedure.close?
|
||||
%h3.fr-footer__top-cat= I18n.t('users.procedure_footer.dematerialisation.header')
|
||||
.fr-download
|
||||
%p
|
||||
= link_to I18n.t('users.procedure_footer.dematerialisation.title_1'), commencer_dossier_vide_for_revision_path(procedure.active_revision), class: 'fr-footer__top-link fr-download__link'
|
||||
= link_to I18n.t('users.procedure_footer.dematerialisation.title_1'), commencer_dossier_vide_for_revision_path(procedure.active_revision), download: 'true', class: 'fr-download__link'
|
||||
%h3.fr-footer__top-cat= I18n.t('users.procedure_footer.support.header')
|
||||
.fr-footer__brand.fr-enlarge-link
|
||||
= link_to t("users.procedure_footer.dematerialisation.link"), title: t("users.procedure_footer.dematerialisation.alt"), class: "fr-footer__brand-link" do
|
||||
|
|
Loading…
Reference in a new issue