mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Fix whatsapp phone tooltip in registration
The tooltip on the contact step of the registration form now displays the proper text, which has been added in the source language file.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
%input.chunky.small-12.columns{ id: 'enterprise_phone', name: 'phone', placeholder: "{{'registration.steps.contact.phone_field_placeholder' | t}}", ng: { model: 'enterprise.phone' } }
|
||||
.row
|
||||
.small-12.columns.field
|
||||
%label{ "for" => 'enterprise_whatsapp_phone', 'data-toggle' => "tooltip", 'title' => "Disabled tooltip" }= t(".whatsapp_phone_field")+":"
|
||||
%label{ "for" => 'enterprise_whatsapp_phone', 'data-toggle' => "tooltip", 'title' => "{{'registration.steps.contact.whatsapp_phone_tooltip' | t}}" }= t(".whatsapp_phone_field")+":"
|
||||
%input.chunky.small-12.columns{ id: 'enterprise_whatsapp_phone', name: 'whatsapp_phone', placeholder: "{{'registration.steps.contact.whatsapp_phone_field_placeholder' | t}}", ng: { model: 'enterprise.whatsapp_phone' } }
|
||||
.small-12.medium-12.large-5.hide-for-small-only
|
||||
|
||||
|
||||
@@ -2337,6 +2337,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
contact_field_required: "You need to enter a primary contact."
|
||||
phone_field: "Phone number"
|
||||
whatsapp_phone_field: "WhatsApp phone number"
|
||||
whatsapp_phone_tooltip: "This number will be displayed in your public profile to be opened as a WhatsApp link."
|
||||
phone_field_placeholder: "eg. (03) 1234 5678"
|
||||
whatsapp_phone_field_placeholder: "eg. +61 4 1234 5678"
|
||||
type:
|
||||
|
||||
Reference in New Issue
Block a user