include ../../components/widgets sib-router sib-route( name='confirm_suppress', use-id) dialog#confirm_suppress include ./confirmation-deletion div.container_min h2.title_lead.fd_bleu International index of resources for cooperative mentors and entrepreneurs button.button_dark.pull-right Watch the presentation div.block_list div.button__actions div.resources__newresource sib-link(next='mentor-resource-create') div div.button_base.ico_gauche.ico_plus Post a new Resource div.dashboard__database sib-link(next='public-dashboard') div.button_base.ico_gauche.ico_database Browse database div.tabs div(class='tablink', onclick="openTab('reviews', this)") h2 Resources requesting validation div(class='tablink', onclick="openTab('requests', this)") h2 Requested resources div(class='tablink', onclick="openTab('history', this)", id='defaultOpen') h2 History of your resources div.block_log.block_list div#reviews.tabcontent div#loader-review-mentor hidden Loading, please wait... sib-link(class="backlink pull-right", next="resource-validation-process") What is a validation process ? sib-display#pending-resources( loader-id="loader-review-mentor" data-src=`${endpoints.resources}pending/` fields='content(name, info(author, publication_year)), validate', 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 ->' class-validate="check_ressource" widget-validate='cs-validate-action' ) div(id='requests', class="tabcontent") div#loader-requests-mentor hidden Loading, please wait... sib-display.request_accordeon( loader-id="loader-requests-mentor" data-src=`${endpoints.requests}` fields='name, content(description, info(fields, language.name, target), create)', label-target='Target audience:' label-language.name='Language:' label-fields='Fields:' each-label-fields='' multiple-fields widget-fields='cs-display-multiple-property' widget-language.name='cs-display-resource-property' widget-target='cs-display-resource-property' widget-name='accordion-request-resource' label-create='Post a resource' action-create="mentor-resource-create" widget-create='cs-validate-action' ) div(id='history', class="tabcontent") div#loader-history-mentor hidden Loading, please wait... sib-display#resources-history( loader-id="loader-history-mentor" bind-user nested-field='resources' fields='search_for_a_resource(name, description, author),content(name, format, publication_year), actions(review.status, detail, edit, delete)', search-fields='search_for_a_resource, header_criterias, more_criterias_hidden(format, publication_year, country, language, fields)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` search-range-fields=`${endpoints.fields}` search-label-search_for_a_resource="Search by author, name..." search-widget-search_for_a_resource="sib-form-placeholder-text" widget-search_for_a_resource="hidden-widget" search-multiple-format='sib-form-dropdown' search-widget-format='sib-form-auto-completion' search-multiple-language='sib-form-dropdown' search-widget-language='sib-form-auto-completion' search-multiple-fields='sib-form-dropdown' search-widget-fields='sib-form-auto-completion' widget-review.status='cs-resource-status', search-widget-header_criterias="cs-section_header" search-label-header_criterias="More criterias" search-label-format='Format' search-label-publication_year='Year of publication' search-label-country='Country of publication' search-label-language='Language' search-label-fields='Field' class-name="tit_element_list" widget-format='cs-display-multiple-property' label-format='Formats' class-format="contenu_list" each-label-format='' multiple-format class-publication_year="contenu_list" widget-publication_year='cs-display-resource-property' label-publication_year='Date of publication:' class-content='content__left' class-actions='actions__right' widget-detail='cs-detail-action' action-detail='mentor-resource-detail' widget-edit='cs-edit-action' action-edit='mentor-resource-edit' widget-delete='cs-delete-action' action-delete='delete' )