Remove time slot from telephone link
This commit is contained in:
parent
c950925a57
commit
2c69f93edd
3 changed files with 18 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
||||||
- service = dossier&.service || procedure.service
|
- service = dossier&.service || procedure.service
|
||||||
- if service.present?
|
- if service.present?
|
||||||
%h3.fr-footer__top-cat= I18n.t('users.procedure_footer.managed_by.header')
|
%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
|
%span{ lang: :fr }= service.pretty_nom
|
||||||
%div{ lang: :fr }
|
%div{ lang: :fr }
|
||||||
= render SimpleFormatComponent.new(service.adresse, class_names_map: {paragraph: 'fr-footer__content-desc'})
|
= 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')
|
= I18n.t('users.procedure_footer.contact.email.link')
|
||||||
= link_to service.email, "mailto:#{service.email}", class: "fr-footer__link"
|
= link_to service.email, "mailto:#{service.email}", class: "fr-footer__link"
|
||||||
|
|
||||||
- if service.present?
|
- if service.telephone.present?
|
||||||
- if service.telephone.present? || service.horaires.present?
|
|
||||||
%li
|
%li
|
||||||
- horaires = "#{I18n.t('users.procedure_footer.contact.schedule.prefix')}#{formatted_horaires(service.horaires)}"
|
%span.fr-footer__top-link
|
||||||
- if service.telephone.present?
|
= I18n.t('users.procedure_footer.contact.phone.label')
|
||||||
= link_to service.telephone_url, class: 'fr-footer__top-link' do
|
= link_to I18n.t('users.procedure_footer.contact.phone.link', service_telephone: service.telephone), service.telephone_url, class: 'fr-footer__link'
|
||||||
%p
|
|
||||||
= I18n.t('users.procedure_footer.contact.phone.link', service_telephone: service.telephone)
|
- if service.horaires.present?
|
||||||
- if service.horaires.present?
|
%li
|
||||||
%p
|
= "#{I18n.t('users.procedure_footer.contact.schedule.prefix')}#{formatted_horaires(service.horaires)}"
|
||||||
= horaires
|
|
||||||
|
|
|
@ -4,23 +4,23 @@ en:
|
||||||
managed_by:
|
managed_by:
|
||||||
header: 'This procedure is managed by'
|
header: 'This procedure is managed by'
|
||||||
contact:
|
contact:
|
||||||
header: 'Ask a question about the procedure :'
|
header: 'Ask a question about the procedure'
|
||||||
in_app_mail:
|
in_app_mail:
|
||||||
link: "Direclty via the chat"
|
link: "Direclty via the chat"
|
||||||
email:
|
email:
|
||||||
link: "Directly by email:"
|
link: "Directly by email: "
|
||||||
phone:
|
phone:
|
||||||
link: 'By phone: %{service_telephone}'
|
label: 'By phone: '
|
||||||
schedule:
|
schedule:
|
||||||
prefix: 'Hours : '
|
prefix: 'Hours: '
|
||||||
stats:
|
stats:
|
||||||
link: "See the procedure's stats"
|
link: "See the procedure's stats"
|
||||||
legals:
|
legals:
|
||||||
header: "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"
|
terms: "Laws regarding this data collection"
|
||||||
dpo: "Contact the Data Protection Officer"
|
dpo: "Contact the Data Protection Officer"
|
||||||
dematerialisation:
|
dematerialisation:
|
||||||
header: Paperless
|
header: Paperless
|
||||||
title_1: Download the PDF form
|
title_1: Download the PDF form
|
||||||
link: "https://www.transformation.gouv.fr/france-services"
|
link: "https://www.transformation.gouv.fr/france-services"
|
||||||
|
|
|
@ -8,9 +8,10 @@ fr:
|
||||||
in_app_mail:
|
in_app_mail:
|
||||||
link: "Directement par la messagerie"
|
link: "Directement par la messagerie"
|
||||||
email:
|
email:
|
||||||
link: "Directement par courriel :"
|
link: "Directement par courriel :"
|
||||||
phone:
|
phone:
|
||||||
link: 'Par téléphone au %{service_telephone}'
|
label: 'Par téléphone au : '
|
||||||
|
link: '%{service_telephone}'
|
||||||
schedule:
|
schedule:
|
||||||
prefix: "Horaires d’ouverture : "
|
prefix: "Horaires d’ouverture : "
|
||||||
stats:
|
stats:
|
||||||
|
|
Loading…
Reference in a new issue