mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
(ui) add profile data to user-profile-form
This commit is contained in:
parent
6955a4bba1
commit
d62cb0ac54
@ -131,6 +131,20 @@ export const UserProfileForm: React.FC<UserProfileFormProps> = ({ action, size,
|
||||
label={t('app.shared.user_profile_form.organization_address')} />
|
||||
</div>}
|
||||
</div>
|
||||
<div className="profile-data">
|
||||
<h4>{t('app.shared.user_profile_form.profile_data')}</h4>
|
||||
</div>
|
||||
<div className="preferences-data">
|
||||
<h4>{t('app.shared.user_profile_form.preferences_data')}</h4>
|
||||
<FormSwitch control={control}
|
||||
id="is_allow_contact"
|
||||
label={t('app.shared.user_profile_form.allow_public_profile')}
|
||||
tooltip={t('app.shared.user_profile_form.allow_public_profile_help')} />
|
||||
<FormSwitch control={control}
|
||||
id="is_allow_newsletter"
|
||||
label={t('app.shared.user_profile_form.allow_newsletter')}
|
||||
tooltip={t('app.shared.user_profile_form.allow_newsletter_help')} />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
);
|
||||
|
@ -38,6 +38,8 @@ en:
|
||||
personal_data: "Personal"
|
||||
account_data: "Account"
|
||||
organization_data: "Organization"
|
||||
profile_data: "Profile"
|
||||
preferences_data: "Preferences"
|
||||
declare_organization: "I declare to be an organization"
|
||||
declare_organization_help: "If you declare to be an organization, your invoices will be issued in the name of the organization."
|
||||
pseudonym: "Nickname"
|
||||
@ -48,7 +50,7 @@ en:
|
||||
organization_address: "Organization address"
|
||||
date_of_birth: "Date of birth"
|
||||
website: "Website"
|
||||
job: "Occupation"
|
||||
job: "Job"
|
||||
interests: "Interests"
|
||||
CAD_softwares_mastered: "CAD Softwares mastered"
|
||||
birthday: "Date of birth"
|
||||
@ -56,8 +58,10 @@ en:
|
||||
address: "Address"
|
||||
phone_number: "Phone number"
|
||||
phone_number_is_required: "Phone number is required."
|
||||
i_authorize_Fablab_users_registered_on_the_site_to_contact_me: "I authorize FabLab users, registered on the site, to contact me"
|
||||
i_accept_to_receive_information_from_the_fablab: "I accept to receive information from the FabLab"
|
||||
allow_public_profile: "I authorize users, registered on the site, to contact me"
|
||||
allow_public_profile_help: "Your profile will be visible to other users and you'll be able to collaborate on projects."
|
||||
allow_newsletter: "I accept to receive information from the FabLab"
|
||||
allow_newsletter_help: "You may receive the newsletter."
|
||||
used_for_statistics: "This data will be used for statistical purposes"
|
||||
used_for_invoicing: "This data will be used for billing purposes"
|
||||
used_for_reservation: "This data will be used in case of change on one of your bookings"
|
||||
|
Loading…
x
Reference in New Issue
Block a user