Remove time slot from telephone link

This commit is contained in:
Corinne Durrmeyer 2024-08-08 10:24:15 +02:00
parent c950925a57
commit 2c69f93edd
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
3 changed files with 18 additions and 19 deletions

View file

@ -2,7 +2,7 @@
- service = dossier&.service || procedure.service
- if service.present?
%h3.fr-footer__top-cat= I18n.t('users.procedure_footer.managed_by.header')
.fr-footer__top-link.fr-pb-2w
.fr-footer__top-link.fr-pb-3w
%span{ lang: :fr }= service.pretty_nom
%div{ lang: :fr }
= render SimpleFormatComponent.new(service.adresse, class_names_map: {paragraph: 'fr-footer__content-desc'})
@ -17,14 +17,12 @@
= I18n.t('users.procedure_footer.contact.email.link')
= link_to service.email, "mailto:#{service.email}", class: "fr-footer__link"
- if service.present?
- if service.telephone.present? || service.horaires.present?
%li
- horaires = "#{I18n.t('users.procedure_footer.contact.schedule.prefix')}#{formatted_horaires(service.horaires)}"
- if service.telephone.present?
= link_to service.telephone_url, class: 'fr-footer__top-link' do
%p
= I18n.t('users.procedure_footer.contact.phone.link', service_telephone: service.telephone)
%li
%span.fr-footer__top-link
= I18n.t('users.procedure_footer.contact.phone.label')
= link_to I18n.t('users.procedure_footer.contact.phone.link', service_telephone: service.telephone), service.telephone_url, class: 'fr-footer__link'
- if service.horaires.present?
%p
= horaires
%li
= "#{I18n.t('users.procedure_footer.contact.schedule.prefix')}#{formatted_horaires(service.horaires)}"

View file

@ -4,20 +4,20 @@ en:
managed_by:
header: 'This procedure is managed by'
contact:
header: 'Ask a question about the procedure :'
header: 'Ask a question about the procedure'
in_app_mail:
link: "Direclty via the chat"
email:
link: "Directly by email:"
link: "Directly by email: "
phone:
link: 'By phone: %{service_telephone}'
label: 'By phone: '
schedule:
prefix: 'Hours : '
prefix: 'Hours: '
stats:
link: "See the procedure's stats"
legals:
header: "Legals"
data_retention: "Data retention and archiving : %{duree_conservation_dossiers_dans_ds} months"
data_retention: "Data retention and archiving: %{duree_conservation_dossiers_dans_ds} months"
terms: "Laws regarding this data collection"
dpo: "Contact the Data Protection Officer"
dematerialisation:

View file

@ -8,9 +8,10 @@ fr:
in_app_mail:
link: "Directement par la messagerie"
email:
link: "Directement par courriel :"
link: "Directement par courriel :"
phone:
link: 'Par téléphone au %{service_telephone}'
label: 'Par téléphone au : '
link: '%{service_telephone}'
schedule:
prefix: "Horaires douverture : "
stats: