diff --git a/src/includes/mentor/create.pug b/src/includes/mentor/create.pug index a9979471ec2460dbfcdd5caffef45a53a652e6c1..b534c490f6c6c982052583ed0e54f25be76980f2 100644 --- a/src/includes/mentor/create.pug +++ b/src/includes/mentor/create.pug @@ -13,14 +13,14 @@ h2.title_create Complete your mentor account sib-form.block_log.block_creat_count( bind-user fields="account_information(last_name, first_name, mentor_profile.organisation,\ - mentor_profile.phone, mentor_profile.language),\ + mentor_profile.phone, mentor_profile.languages, mentor_profile.fields),\ about_you(header_about_you, account.picture, mentor_profile.headline, mentor_profile.city, mentor_profile.country,\ mentor_profile.biography, mentor_profile.skills),\ social_media(header_social_media, mentor_profile.linkedin, mentor_profile.twitter), username" - + range-mentor_profile.fields=`${endpoints.fields}` range-mentor_profile.organisation=`${endpoints.organisations}` - range-mentor_profile.language=`${endpoints.languages}` + range-mentor_profile.languages=`${endpoints.languages}` label-header_about_you="About you" label-header_social_media="Social medias" @@ -32,7 +32,8 @@ sib-form.block_log.block_creat_count( label-last_name="Name" label-mentor_profile.organisation="Organisation" label-mentor_profile.phone="Phone number" - label-mentor_profile.language="Language" + label-mentor_profile.languages="Languages" + label-mentor_profile.fields="Fields" label-account.picture="Photo" label-mentor_profile.headline="Headline or current position" label-mentor_profile.city="City" @@ -50,9 +51,13 @@ sib-form.block_log.block_creat_count( multiple-mentor_profile.organisation='sib-multiple-select' widget-mentor_profile.organisation='sib-form-auto-completion' - class-mentor_profile.language='form-label is-dark' - multiple-mentor_profile.language='sib-multiple-select' - widget-mentor_profile.language='sib-form-auto-completion' + class-mentor_profile.languages='form-label is-dark' + multiple-mentor_profile.languages='sib-multiple-select' + widget-mentor_profile.languages='sib-form-auto-completion' + + class-mentor_profile.fields='form-label is-dark' + multiple-mentor_profile.fields='sib-multiple-select' + widget-mentor_profile.fields='sib-form-auto-completion' class-account.picture='input_photo w_25' class-headline='w_75' diff --git a/src/includes/mentor/resources/list.pug b/src/includes/mentor/resources/list.pug index 9aade6b83d6bb6b9382dcfe3be218bbbdb39c398..dcf7c6c92b0f92678746c6b41e4871688910719d 100644 --- a/src/includes/mentor/resources/list.pug +++ b/src/includes/mentor/resources/list.pug @@ -27,10 +27,17 @@ div.block_list div#reviews.tabcontent sib-display( data-src=`${endpoints.resources}pending/` - fields='content(name), info(author, publication_year), validate', + fields='content(name, info(author, publication_year)), validate', widget-status='resource-format-name', + widget-publication_year='cs-display-resource-property' + label-publication_year='Posted on:' + + widget-author='cs-display-resource-property' + label-author='Author:' + action-validate='mentor-resource-validate' + label-validate='Check ->' widget-validate='cs-action' ) diff --git a/src/scripts/coopstarter.js b/src/scripts/coopstarter.js index 3f51436ce8fe5780edca6775d13208fc2fe6b244..6efa8b14611d2ed37d0c46b0ad21354b870b8f3b 100644 --- a/src/scripts/coopstarter.js +++ b/src/scripts/coopstarter.js @@ -3,7 +3,7 @@ function openTab(pageName, elmnt) { var i, tabcontent, tablinks; tabcontent = document.getElementsByClassName("tabcontent"); tablinks = document.getElementsByClassName("tablink"); - console.log('list of tabs',tablinks) + for (i = 0; i < tabcontent.length; i++) { tabcontent[i].style.display = "none"; tablinks[i].classList.remove("active");