From ae57fd9fbd34e2f8247844c0ecbdb00f1987cbdd Mon Sep 17 00:00:00 2001 From: Benoit Alessandroni <benoit@happy-dev.fr> Date: Thu, 12 Dec 2019 22:18:31 +0100 Subject: [PATCH] Fix the step 5 and 6 --- src/includes/entrepreneur/resources/list.pug | 12 ++++++------ src/includes/mentor/browseDatabase.pug | 12 ++++++------ src/includes/public/resources/list.pug | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/includes/entrepreneur/resources/list.pug b/src/includes/entrepreneur/resources/list.pug index 8e036f6e..e67808d7 100644 --- a/src/includes/entrepreneur/resources/list.pug +++ b/src/includes/entrepreneur/resources/list.pug @@ -120,7 +120,7 @@ container.block_list ) sib-display.resource_by_step( - data-src=`${endpoints.steps}1/resources/validated/`, + data-src=`${endpoints.step1}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -174,7 +174,7 @@ container.block_list ) sib-display.resource_by_step( - data-src=`${endpoints.steps}2/resources/validated/`, + data-src=`${endpoints.step2}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -226,7 +226,7 @@ container.block_list ) sib-display.resource_by_step( - data-src=`${endpoints.steps}3/resources/validated/`, + data-src=`${endpoints.step3}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -279,7 +279,7 @@ container.block_list ) sib-display.resource_by_step( - data-src=`${endpoints.steps}4/resources/validated/`, + data-src=`${endpoints.step4}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -332,7 +332,7 @@ container.block_list ) sib-display.resource_by_step( - data-src=`${endpoints.steps}5/resources/validated/`, + data-src=`${endpoints.step5}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -385,7 +385,7 @@ container.block_list ) sib-display.resource_by_step( - data-src=`${endpoints.steps}6/resources/validated/`, + data-src=`${endpoints.step6}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` diff --git a/src/includes/mentor/browseDatabase.pug b/src/includes/mentor/browseDatabase.pug index aa33150f..8e536036 100644 --- a/src/includes/mentor/browseDatabase.pug +++ b/src/includes/mentor/browseDatabase.pug @@ -112,7 +112,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}1/resources/validated/`, + data-src=`${endpoints.step1}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -164,7 +164,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}2/resources/validated/`, + data-src=`${endpoints.step2}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -217,7 +217,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}3/resources/validated/`, + data-src=`${endpoints.step3}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -270,7 +270,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}4/resources/validated/`, + data-src=`${endpoints.step4}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -322,7 +322,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}5/resources/validated/`, + data-src=`${endpoints.step5}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -374,7 +374,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}6/resources/validated/`, + data-src=`${endpoints.step6}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` diff --git a/src/includes/public/resources/list.pug b/src/includes/public/resources/list.pug index f69ae98d..dcc12d5f 100644 --- a/src/includes/public/resources/list.pug +++ b/src/includes/public/resources/list.pug @@ -105,7 +105,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}1/resources/validated/`, + data-src=`${endpoints.step1}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -159,7 +159,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}2/resources/validated/`, + data-src=`${endpoints.step2}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -214,7 +214,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}3/resources/validated/`, + data-src=`${endpoints.step3}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -268,7 +268,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}4/resources/validated/`, + data-src=`${endpoints.step4}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -322,7 +322,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}5/resources/validated/`, + data-src=`${endpoints.step5}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` @@ -375,7 +375,7 @@ container.block_list.flex.flex_espace ) sib-display.resource_by_step( - data-src=`${endpoints.steps}6/resources/validated/`, + data-src=`${endpoints.step6}`, fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` -- GitLab