diff --git a/src/includes/entrepreneur/profile/create.pug b/src/includes/entrepreneur/profile/create.pug index 8eb14484cb31bbd26206253af3e000870482f81b..ce0cb42cab5e95efc21fe711136035d21d78934a 100644 --- a/src/includes/entrepreneur/profile/create.pug +++ b/src/includes/entrepreneur/profile/create.pug @@ -10,7 +10,7 @@ figure.logo.img_log h2.title_create Complete your entrepreneur account -sib-form.block_log.block_creat_count( +sib-form#entrepreneur_profile_creation.block_log.block_creat_count( bind-user fields="last_name, first_name, entrepreneur_profile.organisation, username" diff --git a/src/includes/entrepreneur/profile/detail.pug b/src/includes/entrepreneur/profile/detail.pug index 722ed9a88d2c4ef8bd9b5a7237dd98aaae2a9b12..66884ff88bad4fd049c19e110e1625cefa60755a 100644 --- a/src/includes/entrepreneur/profile/detail.pug +++ b/src/includes/entrepreneur/profile/detail.pug @@ -23,7 +23,7 @@ div.block_list.flex sib-link(next='entrepreneur-account-edit') button.button_edit <i class="fas fa-pen" aria-hidden="true"></i> - sib-display( + sib-display#entrepreneur_info( bind-user fields='name, entrepreneur_profile.organisation.name, registered_on' widget-name='cs-display-property' @@ -31,7 +31,7 @@ div.block_list.flex widget-entrepreneur_profile.registered_on='cs-display-property' ) - sib-display( + sib-display#entrepreneur_contact( bind-user fields='email' label-email='Email:' diff --git a/src/includes/entrepreneur/resources/list.pug b/src/includes/entrepreneur/resources/list.pug index 1897d71bfa1bc3ec473eb94117b3046879e7aa90..94b5fe6bc199c047ac30017846d169efaab2715f 100644 --- a/src/includes/entrepreneur/resources/list.pug +++ b/src/includes/entrepreneur/resources/list.pug @@ -30,12 +30,10 @@ container.block_list.flex.flex_espace div#keyword_submit.button__actions div.button_base.ico_gauche Search - sib-form( + sib-form#instance_database_only( data-src=`${endpoints.resources}`, fields='instance_database_only' - widget-instance_database_only='cs-display-checkbox' - class-instance_database_only = 'ss-list checkbox' naked @@ -96,8 +94,8 @@ container.block_list.flex.flex_espace sib-display#step1.resource_by_step( data-src=`${endpoints.steps}1/resources/`, - fields='name, author, format, publication_year, description, country, language.name, field, steps', - search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)', + fields='name, author, format, publication_year, description, country, language.name, field', + search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)', search-widget-search_for_a_resource="hidden-widget" search-widget-more_criterias_hidden="hidden-widget" @@ -109,7 +107,6 @@ container.block_list.flex.flex_espace widget-field='cs-display-property' widget-language.name="hidden-widget" widget-author="cs-display-property" - widget-steps="hidden-widget" widget-format='cs-display-multiple-property' label-format='' multiple-format @@ -129,8 +126,8 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}2/resources/`, - fields='name, author, format, publication_year, description, country, language.name, field, steps', - search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)', + fields='name, author, format, publication_year, description, country, language.name, field', + search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)', search-widget-search_for_a_resource="hidden-widget" search-widget-more_criterias_hidden="hidden-widget" @@ -142,7 +139,6 @@ container.block_list.flex.flex_espace widget-field='cs-display-property' widget-language.name="hidden-widget" widget-author="cs-display-property" - widget-steps="hidden-widget" widget-format='cs-display-multiple-property' label-format='' multiple-format @@ -163,8 +159,8 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}3/resources/`, - fields='name, author, format, publication_year, description, country, language.name, field, steps', - search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)', + fields='name, author, format, publication_year, description, country, language.name, field', + search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)', search-widget-search_for_a_resource="hidden-widget" search-widget-more_criterias_hidden="hidden-widget" @@ -176,7 +172,6 @@ container.block_list.flex.flex_espace widget-field='cs-display-property' widget-language.name="hidden-widget" widget-author="cs-display-property" - widget-steps="hidden-widget" widget-format='cs-display-multiple-property' label-format='' multiple-format @@ -197,8 +192,8 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}4/resources/`, - fields='name, author, format, publication_year, description, country, language.name, field, steps', - search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)', + fields='name, author, format, publication_year, description, country, language.name, field', + search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)', search-widget-search_for_a_resource="hidden-widget" search-widget-more_criterias_hidden="hidden-widget" @@ -210,7 +205,6 @@ container.block_list.flex.flex_espace widget-field='cs-display-property' widget-language.name="hidden-widget" widget-author="cs-display-property" - widget-steps="hidden-widget" widget-format='cs-display-multiple-property' label-format='' multiple-format @@ -230,8 +224,8 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}5/resources/`, - fields='name, author, format, publication_year, description, country, language.name, field, steps', - search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field, steps)', + fields='name, author, format, publication_year, description, country, language.name, field', + search-fields='search_for_a_resource(name, description, author), more_criterias_hidden(format, publication_year, country, language.name, field)', search-widget-search_for_a_resource="hidden-widget" search-widget-more_criterias_hidden="hidden-widget" @@ -243,7 +237,6 @@ container.block_list.flex.flex_espace widget-field='cs-display-property' widget-language.name="hidden-widget" widget-author="cs-display-property" - widget-steps="hidden-widget" widget-format='cs-display-multiple-property' label-format='' multiple-format diff --git a/src/includes/mentor/profile/create.pug b/src/includes/mentor/profile/create.pug index 96049e4fcfaca9a2e2f3df66908c8c3b54860b43..17f7c8f75f9c65492c761857cf429925ed7b42b0 100644 --- a/src/includes/mentor/profile/create.pug +++ b/src/includes/mentor/profile/create.pug @@ -10,7 +10,7 @@ figure.logo.img_log h2.title_create Complete your mentor account -sib-form.block_log.block_creat_count( +sib-form#mentor_profile_creation.block_log.block_creat_count( bind-user fields="account_information(last_name, first_name, mentor_profile.organisation,\ mentor_profile.phone, mentor_profile.languages, mentor_profile.fields),\ diff --git a/src/includes/mentor/profile/detail.pug b/src/includes/mentor/profile/detail.pug index f6d61e1250068849f8f1d6257e628371b5b837d5..20d6f09f84cadcd15d3c7f2d321d88f9821a2f53 100644 --- a/src/includes/mentor/profile/detail.pug +++ b/src/includes/mentor/profile/detail.pug @@ -27,7 +27,7 @@ div.block_list.flex sib-link(next='mentor-account-edit') button.button_edit <i class="fas fa-pen" aria-hidden="true"></i> - sib-display( + sib-display#mentor_info( bind-user fields='account.picture, name, mentor_profile.headline, mentor_profile.city, mentor_profile.country, registered_on' widget-account.picture='cs-profile-picture' @@ -45,7 +45,7 @@ div.block_list.flex bind-user ) - sib-display( + sib-display#mentor_complementary( bind-user fields='biography_label, mentor_profile.biography, skills_label, mentor_profile.skills' widget-biography_label='cs-display-label' @@ -56,7 +56,7 @@ div.block_list.flex widget-mentor_profile.biography='cs-display-property' ) - sib-display( + sib-display#mentor_contact( bind-user fields='email, mentor_profile.phone, mentor_profile.linkedin, mentor_profile.twitter' label-email='Email:' diff --git a/src/scripts/coopstarter.js b/src/scripts/coopstarter.js index 6fe2c2ebacedcabdf01372d59e91d20f2fc52fc9..dd7653db5b3ab601035c9b218a813efa7a1fb4be 100644 --- a/src/scripts/coopstarter.js +++ b/src/scripts/coopstarter.js @@ -49,6 +49,11 @@ jQuery(document).ready(function($) { refreshList("validation-form", "pending-resources"); refreshList("refusal-dialog-form", "pending-resources"); refreshList("improvement-dialog-form", "pending-resources"); + refreshList("entrepreneur_profile_creation", "entrepreneur_info"); + refreshList("entrepreneur_profile_creation", "entrepreneur_contact"); + refreshList("mentor_profile_creation", "mentor_info"); + refreshList("mentor_profile_creation", "mentor_complementary"); + refreshList("mentor_profile_creation", "mentor_contact"); const logoutButtons = document.getElementsByClassName("logout-button"); for (var i = 0; i < logoutButtons.length; i++) {