diff --git a/src/includes/entrepreneur/resources/list.pug b/src/includes/entrepreneur/resources/list.pug index 8e036f6ed6970205daaf7df6836b1900b9f54e13..e67808d7b30a38add0c8f664b6402d5db2669803 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 aa33150f6449113781e5fe50647044248ca64069..8e5360363430d0dd827bfcff6a95af4f969ffd26 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 f69ae98d16832a26e05b051b30380873f2d3e741..dcc12d5f35613829bf0c368690b37bfca36f701c 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}`