diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index 1e86a6e560..37f91a1842 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -64,4 +64,10 @@ <%= f.button :submit, t(".sign_up"), class: 'btn btn-primary' %> + + +<% if current_extranet.present? && current_extranet_l10n.registration_contact.present? %> +
<%= mail_to current_extranet_l10n.registration_contact, t('extranet.registration_contact_sign_up_screen') %>
+<% end %> + <% end %> diff --git a/app/views/extranet/application/_footer.html.erb b/app/views/extranet/application/_footer.html.erb index 954668dbc0..f874a5993f 100644 --- a/app/views/extranet/application/_footer.html.erb +++ b/app/views/extranet/application/_footer.html.erb @@ -44,6 +44,9 @@ about = current_extranet.about cookies_policy_path(lang: current_language), rel: 'noreferrer' if current_extranet.has_cookies_policy_in?(current_language) %> <%= link_to t('extranet.data'), data_path(lang: current_language) %> + <% if current_extranet_l10n.registration_contact.present? %> + <%= mail_to current_extranet_l10n.registration_contact, t('extranet.registration_contact') %> + <% end %> <%= t 'extranet.osuny_html' %> diff --git a/config/locales/communication/en.yml b/config/locales/communication/en.yml index 78788a714a..9ecba1bcbe 100644 --- a/config/locales/communication/en.yml +++ b/config/locales/communication/en.yml @@ -75,7 +75,7 @@ en: name: Name privacy_policy: Privacy policy published: Language published - registration_contact: Contact mail for registrations problems + registration_contact: Contact email in case of problems sso_button_label: Sign in button's label terms: Terms of service communication/extranet/post: diff --git a/config/locales/communication/fr.yml b/config/locales/communication/fr.yml index 8324f60259..2b57d1686c 100644 --- a/config/locales/communication/fr.yml +++ b/config/locales/communication/fr.yml @@ -75,7 +75,7 @@ fr: name: Nom privacy_policy: Politique de confidentialité published: Langue publiée - registration_contact: Mail de contact pour les problèmes d'inscription + registration_contact: Mail de contact en cas de problème sso_button_label: Libellé du bouton de connexion terms: Conditions d'utilisation communication/extranet/post: diff --git a/config/locales/extranet/en.yml b/config/locales/extranet/en.yml index 2557f5d805..1d7ff1ba78 100644 --- a/config/locales/extranet/en.yml +++ b/config/locales/extranet/en.yml @@ -55,5 +55,7 @@ en: posts: home: Recent posts read_post: Read post + registration_contact: Contact us + registration_contact_sign_up_screen: Contact us for any questions regarding registration search: no_results: No results diff --git a/config/locales/extranet/fr.yml b/config/locales/extranet/fr.yml index 1e838bfcaf..4e23f080db 100644 --- a/config/locales/extranet/fr.yml +++ b/config/locales/extranet/fr.yml @@ -55,5 +55,7 @@ fr: posts: home: Actualités récentes read_post: Lire l'article + registration_contact: Contactez-nous + registration_contact_sign_up_screen: Contactez-nous pour toute question concernant l'inscription search: no_results: Aucun résultat