From 711eab57db617b6c1ddd603a97cdf299c7025299 Mon Sep 17 00:00:00 2001 From: Alice <alice.poggioli@hotmail.fr> Date: Tue, 26 May 2020 10:13:05 +0200 Subject: [PATCH] add explanation --- src/includes/components/widgets.pug | 8 +++++++- src/includes/mentor/profile/create.pug | 4 +++- translation/en.yml | 4 +++- translation/fr.yml | 4 +++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/includes/components/widgets.pug b/src/includes/components/widgets.pug index c9e1809a..5ab66fb5 100644 --- a/src/includes/components/widgets.pug +++ b/src/includes/components/widgets.pug @@ -185,7 +185,13 @@ sib-widget(name='cs-section_introduction') template div h2.title_form ${label} - p Informations will appear on your profile to inform entrepreneurs about your skills and activities. We will also use those information to address specific resources for validation. + p= `${data.AboutYouExplanation}` + +sib-widget(name='cs-about-field') + template + div + br + p ${label} sib-widget(name='cs-account-picture') template diff --git a/src/includes/mentor/profile/create.pug b/src/includes/mentor/profile/create.pug index c8ee6818..e10c3da4 100644 --- a/src/includes/mentor/profile/create.pug +++ b/src/includes/mentor/profile/create.pug @@ -13,7 +13,7 @@ sib-form#mentor_profile_creation.block_log.block_creat_count( partial fields="account_information(last_name, first_name, mentorProfile.organisation,\ mentorProfile.phone, mentorProfile.languages, mentorProfile.fields),\ - about_you(header_about_you, account.picture, mentorProfile.headline, mentorProfile.city, mentorProfile.country,\ + aboutfields, about_you(header_about_you, account.picture, mentorProfile.headline, mentorProfile.city, mentorProfile.country,\ mentorProfile.biography, mentorProfile.skills),\ social_media(header_social_media, mentorProfile.linkedin, mentorProfile.twitter), username" @@ -23,10 +23,12 @@ sib-form#mentor_profile_creation.block_log.block_creat_count( range-mentorProfile.country=`${endpoints.countries}` label-header_about_you=`${data.AboutYou}` + label-aboutfields=`${data.AboutField}` label-header_social_media=`${data.SocialMedias}` widget-header_social_media="cs-section_header" widget-header_about_you="cs-section_introduction" + widget-aboutfields="cs-about-field" label-first_name=`${data.Surname} *` label-last_name=`${data.Name} *` diff --git a/translation/en.yml b/translation/en.yml index b9e89527..527fda5c 100644 --- a/translation/en.yml +++ b/translation/en.yml @@ -117,4 +117,6 @@ IAmSearcher: I am a searcher RequestIntro: The resources listed bellow were requested by searchers. By posting related resources you will help the cooperative community and enrich the database. DescriptionRequestEntrepreneur : How can we help ? whatIsAContributeur : A contributor feeds the database and is part of the validation process of the resources. -whatIsASearcher : A searcher uses the database and can request a resource to contributors. \ No newline at end of file +whatIsASearcher : A searcher uses the database and can request a resource to contributors. +AboutField : The fields you choose here must be related to your own field of expertise. Resources available for validation will be filtered based on that selection. The same thing is true regarding the languages you select here. +AboutYouExplanation : Informations will appear on your profile to inform searchers about your skills and activities. We will also use those information to address specific resources for validation. \ No newline at end of file diff --git a/translation/fr.yml b/translation/fr.yml index 5be58ada..92314a9f 100644 --- a/translation/fr.yml +++ b/translation/fr.yml @@ -117,4 +117,6 @@ IAmSearcher: je suis un chercheur RequestIntro: Les ressources listées ci-dessous ont été demandées par des chercheurs. En publiant des ressources connexes, vous aiderez la communauté coopérative et enrichirez la base de données. DescriptionRequestEntrepreneur : Comment pouvons-nous aider ? whatIsAContributeur : Un contributeur alimente la base de donnée et fait partie du processus de validation des ressources. -whatIsASearcher : Un chercheur utilise la base de donnée et peut demander une ressource. \ No newline at end of file +whatIsASearcher : Un chercheur utilise la base de donnée et peut demander une ressource. +AboutField : Les domaines que vous choisissez ici doivent être liés à votre domaine d'expertise. Les ressources vous seront soumises à validation sur la base de votre selection. C'est aussi vrai pour les langues que vous selectionnez. +AboutYouExplanation : Ces informations apparaitront sur votre profil pour informer les chercheurs de vos compétences et activités. Elles seront également utilisées pour vous soumettre des ressources spécifiques à validation. \ No newline at end of file -- GitLab