Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • applications/knowledge-base/knowledgebase-front
  • HannaP/knowledgebase-front
  • novalore/knowledgebase-front
3 results
Show changes
Commits on Source (46)
Showing
with 165 additions and 167 deletions
......@@ -9,6 +9,7 @@
/dist/oidc-client-config.json
*.iml
/www/*
!/www/.htaccess
!/www/index.html
package-lock.json
......@@ -29,3 +29,10 @@ Disclaimer: PUG could need to be installed globally as root `sudo npm i -g pug`
11. If you have no CSS when loading the project local URL, edit and save the `src/styles/index.scss` file with any kind of modifications to force the compilation.
You should now be able to access the application using your preferred browser on `http://localhost:9000/`
## Funding
![EULOGO](documentation/EU_logos.png)
This software has been co-funded by the European Union.
The contents of this software are the sole responsibility of Cooperatives Europe and can in no way be taken to reflect the views of the European Union.
documentation/EU_logos.png

17.1 KiB

......@@ -13,9 +13,9 @@ sib-widget(name='cs-display-property')
sib-widget(name='cs-steps-resources-multiple')
template
div.resource_resume_header
p ${value.name}
p ${value.publication_year}
p ${value.description}
p ${await value.name}
p ${await value.publication_year}
p ${await value.description}
sib-widget(name='cs-steps-header')
template
......@@ -47,20 +47,20 @@ sib-widget(name='cs-display-checkbox')
sib-widget(name='cs-display-related-property')
template
p #[a(href="${value.name}")] ${value.name}
p #[a(href="${value.name}")] ${await value.name}
sib-widget(name='cs-display-multiple-property')
template
p #[b ${label}] ${value.name}
p #[b ${label}] ${await value.name}
sib-widget(name='cs-display-step-property')
template
p #[b ${label} ${value.order}:] ${value.name}
p #[b ${label} ${await value.order}:] ${await value.name}
sib-widget(name='cs-resource-format-name')
template
div
p ${value.name}
p ${await value.name}
sib-widget(name='cs-resource-reviewer')
template
......@@ -164,3 +164,6 @@ sib-widget(name="cs-form-file-custom" )
sib-form-file(upload-url=`${sdn}upload/` name="preview_image")
sib-widget(name="iframe-video-resource" )
template
div ${value}
\ No newline at end of file
include ../../components/widgets
figure.logo
img(src="../images/logo.png"
alt="Coopstarter")
......@@ -12,16 +10,16 @@ h2.title_create=`${data.CompleteEntrepreneurAccount}`
sib-form#entrepreneur_profile_creation.block_log.block_creat_count(
bind-user
fields="last_name, first_name, entrepreneur_profile.organisation, account.picture, username"
fields="last_name, first_name, entrepreneurProfile.organisation, account.picture, username"
range-entrepreneur_profile.organisation=`${endpoints.organisations}`
range-entrepreneurProfile.organisation=`${endpoints.organisations}`
label-first_name=`${data.Surname}`
label-last_name=`${data.Name}`
label-entrepreneur_profile.organisation=`${data.Organisation}`
label-entrepreneurProfile.organisation=`${data.Organisation}`
class-entrepreneur_profile.organisation='form-label is-dark'
widget-entrepreneur_profile.organisation='sib-form-auto-completion'
class-entrepreneurProfile.organisation='form-label is-dark'
widget-entrepreneurProfile.organisation='sib-form-auto-completion'
widget-username='sib-form-hidden'
......
include ../../components/widgets
div.container_min
h2.title_lead.fd_bleu=`${data.MyAccount}`
......@@ -25,11 +23,11 @@ div.block_list.flex
sib-display#entrepreneur_info(
bind-user
fields='account.picture, name, entrepreneur_profile.organisation.name, registered_on'
fields='account.picture, name, entrepreneurProfile.organisation.name, registeredOn'
widget-name='cs-display-property'
widget-account.picture='cs-profile-picture'
widget-entrepreneur_profile.organisation.name='cs-display-property'
widget-entrepreneur_profile.registered_on='cs-display-property'
widget-entrepreneurProfile.organisation.name='cs-display-property'
widget-entrepreneurProfile.registeredOn='cs-display-property'
)
sib-display#entrepreneur_contact(
......
include ../../components/widgets
h2.title_create= data.EditYourAccount
sib-form#entrepreneur_profile_edition.block_log.block_creat_count(
bind-user
fields="info(last_name, first_name, username, email, entrepreneur_profile.organisation, account.picture)"
range-entrepreneur_profile.organisation=`${endpoints.organisations}`
fields="info(last_name, first_name, username, email, entrepreneurProfile.organisation, account.picture)"
range-entrepreneurProfile.organisation=`${endpoints.organisations}`
label-first_name=`${data.Surname}`
label-last_name=`${data.Name}`
label-entrepreneur_profile.organisation=`${data.Organisation}`
label-entrepreneurProfile.organisation=`${data.Organisation}`
label-account.picture=`${data.Photo}`
widget-username="sib-form-hidden"
class-last_name='form-label is-dark input_big'
class-first_name='form-label is-dark input_big'
class-email='form-label is-dark input_big'
class-entrepreneur_profile.phone='form-label is-dark input_big'
class-entrepreneurProfile.phone='form-label is-dark input_big'
class-entrepreneur_profile.organisation='form-label is-dark input_big'
widget-entrepreneur_profile.organisation='sib-form-auto-completion'
class-entrepreneurProfile.organisation='form-label is-dark input_big'
widget-entrepreneurProfile.organisation='sib-form-auto-completion'
upload-url-account.picture=`${sdn}upload/`
widget-account.picture='cs-form-file-custom'
......
include ../../components/widgets
.block_log.block_creat_count.no_shadow
sib-link(class="backlink", next="entrepreneur-resource-list")
.like
......@@ -14,8 +12,8 @@ include ../../components/widgets
bind-resources,
fields='name, steps, format.name, \
submitter_info(submitter.account.picture, submitter.name, \
submitter.mentor_profile.organisation.name, skills, uri, broken),\
content(preview_image, tags),\
submitter.mentorProfile.organisation.name, skills, uri, broken),\
content(preview_image, iframe_link, tags),\
description, review.reviewer.account.picture, review.reviewer.name,\
copyright, specifications(\
header_specifications, author, country.name, language.name,\
......@@ -26,7 +24,7 @@ include ../../components/widgets
class-steps="steps"
widget-author='cs-display-resource-property',
widget-country.name='cs-display-resource-property',
widget-submitter.mentor_profile.organisation.name='cs-display-resource-property'
widget-submitter.mentorProfile.organisation.name='cs-display-resource-property'
class-submitter.name="autor_ressource"
class-broken="broken"
widget-format.name='cs-display-resource-property'
......@@ -45,6 +43,8 @@ include ../../components/widgets
widget-review.reviewer.name='cs-resource-reviewer'
class-review.reviewer.name="validator_ressource"
widget-header_specifications='cs-section_header'
widget-iframe_link='iframe-video-resource'
label-broken=`${data.ReportBrokenLink}`
label-sharing=`${data.Access}`
......@@ -68,7 +68,7 @@ include ../../components/widgets
label-uri=`${data.LinkToResource}`
name-uri='original-link'
label-country.name=`${data.Country}`
label-submitter.mentor_profile.organisation.name=`${data.Organisation}`
label-submitter.mentorProfile.organisation.name=`${data.Organisation}`
label-author=`${data.Author}`
label-submitter.name=`${data.ResourcePostedBy}`
action-broken='resource-report-broken-link-entrepreneur'
......@@ -80,19 +80,19 @@ include ../../components/widgets
//- <p class="backlink"><i class='far fa-thumbs-down'></i>3</p>
//- </div>
sib-display(
bind-resources
fields=""
nested-field="likes"
counter-template="<p><i class='fas fa-thumbs-up'></i>${counter}</p>"
)
sib-display(
bind-resources
fields=""
nested-field="dislikes"
counter-template="<p><i class='fas fa-thumbs-down'></i>${counter}</p>"
)
//- sib-display(
//- bind-resources
//- fields=""
//- nested-field="likes"
//- counter-template="<p><i class='fas fa-thumbs-up'></i>${counter}</p>"
//- )
//- sib-display(
//- bind-resources
//- fields=""
//- nested-field="dislikes"
//- counter-template="<p><i class='fas fa-thumbs-down'></i>${counter}</p>"
//- )
sib-display(
bind-resources
......
include ../../components/widgets
sib-router
sib-route( name='resource-report-broken-link-entrepreneur', use-id)
......
......@@ -20,4 +20,4 @@
p Co-funded
p by the
p European Union
p.footer_warning.flex_item_center This software has been co-funded by the European Union. The contents of this softwrae are the sole responsibility of Cooperatives Europe and can in no way be taken to reflect the views of the European Union.
\ No newline at end of file
p.footer_warning.flex_item_center This software has been co-funded by the European Union. The contents of this software are the sole responsibility of Cooperatives Europe and can in no way be taken to reflect the views of the European Union.
\ No newline at end of file
......@@ -2,11 +2,19 @@ head
title CoopStarter
meta(charset="utf-8")
script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js")
script(type="module" src="https://unpkg.com/@startinblox/core@0.8")
script(type="module" src="https://unpkg.com/@startinblox/router")
script(type="module" src="https://unpkg.com/@startinblox/oidc")
script(type="module" src="https://unpkg.com/@startinblox/component-conversation")
script(type="module" src="https://unpkg.com/@startinblox/core@0.9")
script(type="module" src="https://unpkg.com/@startinblox/router@0.7")
script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8")
script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.4")
script(src="https://kit.fontawesome.com/48014d2af3.js")
script(src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous")
script(src="/scripts/coopstarter.js")
link(rel="stylesheet" href="/styles/index.css")
script(data-default-context type="application/ld+json" ).
{
"entrepreneurProfile": "http://happy-dev.fr/owl/#entrepreneur_profile",
"mentorProfile": "http://happy-dev.fr/owl/#mentor_profile",
"account": "http://happy-dev.fr/owl/#account"
}
include ../components/widgets
div.container_min
h2.title_lead.fd_bleu=`${data.generalLabel}`
button.button_dark.pull-right= `${data.WatchThePresentation}`
......
......@@ -17,7 +17,7 @@
naked
)
.dropdownWrapper
sib-display#mentor-account-picture.dropdownLabel(
sib-display#user-account-picture.dropdownLabel(
bind-user
fields='account.picture',
widget-account.picture='cs-account-picture'
......
include ../../components/widgets
figure.logo
img(src="../images/logo.png"
alt="Coopstarter")
......@@ -12,16 +10,16 @@ h2.title_create= data.CompleteMentorAccount
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),\
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"
fields="account_information(last_name, first_name, mentorProfile.organisation,\
mentorProfile.phone, mentorProfile.languages, mentorProfile.fields),\
about_you(header_about_you, account.picture, mentorProfile.headline, mentorProfile.city, mentorProfile.country,\
mentorProfile.biography, mentorProfile.skills),\
social_media(header_social_media, mentorProfile.linkedin, mentorProfile.twitter), username"
range-mentor_profile.fields=`${endpoints.fields}`
range-mentor_profile.organisation=`${endpoints.organisations}`
range-mentor_profile.languages=`${endpoints.languages}`
range-mentor_profile.country=`${endpoints.countries}`
range-mentorProfile.fields=`${endpoints.fields}`
range-mentorProfile.organisation=`${endpoints.organisations}`
range-mentorProfile.languages=`${endpoints.languages}`
range-mentorProfile.country=`${endpoints.countries}`
label-header_about_you=`${data.AboutYou}`
label-header_social_media=`${data.SocialMedias}`
......@@ -31,35 +29,35 @@ sib-form#mentor_profile_creation.block_log.block_creat_count(
label-first_name=`${data.Surname}`
label-last_name=`${data.Name}`
label-mentor_profile.organisation=`${data.Organisation}`
label-mentor_profile.phone=`${data.PhoneNumber}`
label-mentor_profile.languages=`${data.Language}`
label-mentor_profile.fields=`${data.Field}`
label-mentorProfile.organisation=`${data.Organisation}`
label-mentorProfile.phone=`${data.PhoneNumber}`
label-mentorProfile.languages=`${data.Language}`
label-mentorProfile.fields=`${data.Field}`
label-account.picture=`${data.Photo}`
label-mentor_profile.headline=`${data.Headline}`
class-mentor_profile.headline="w_75"
label-mentor_profile.city=`${data.City}`
label-mentor_profile.country=`${data.Country}`
label-mentor_profile.biography=`${data.ActivitiesMore}`
label-mentor_profile.skills=`${data.SkillForEntrepreneur}`
label-mentor_profile.linkedin="Linkedin"
label-mentor_profile.twitter="Twitter"
label-mentorProfile.headline=`${data.Headline}`
class-mentorProfile.headline="w_75"
label-mentorProfile.city=`${data.City}`
label-mentorProfile.country=`${data.Country}`
label-mentorProfile.biography=`${data.ActivitiesMore}`
label-mentorProfile.skills=`${data.SkillForEntrepreneur}`
label-mentorProfile.linkedin="Linkedin"
label-mentorProfile.twitter="Twitter"
widget-mentor_profile.skills="sib-form-textarea"
widget-mentor_profile.biography="sib-form-textarea"
widget-mentorProfile.skills="sib-form-textarea"
widget-mentorProfile.biography="sib-form-textarea"
widget-username="sib-form-hidden"
class-mentor_profile.organisation='form-label is-dark'
widget-mentor_profile.organisation='sib-form-auto-completion'
widget-mentor_profile.country='sib-form-auto-completion'
class-mentorProfile.organisation='form-label is-dark'
widget-mentorProfile.organisation='sib-form-auto-completion'
widget-mentorProfile.country='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-mentorProfile.languages='form-label is-dark'
multiple-mentorProfile.languages='sib-multiple-select'
widget-mentorProfile.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-mentorProfile.fields='form-label is-dark'
multiple-mentorProfile.fields='sib-multiple-select'
widget-mentorProfile.fields='sib-form-auto-completion'
upload-url-account.picture=`${sdn}upload/`
widget-account.picture='cs-form-file-custom'
......
include ../../components/widgets
div.container_min
h2.title_lead.fd_bleu=`${data.MyAccount}`
......@@ -29,13 +27,13 @@ div.block_list.flex
sib-display#mentor_info(
bind-user
fields='account.picture, name, mentor_profile.headline, mentor_profile.city, mentor_profile.country.name, registered_on'
fields='account.picture, name, mentorProfile.headline, mentorProfile.city, mentorProfile.country.name, registered_on'
widget-account.picture='cs-profile-picture'
widget-name='cs-display-property'
widget-mentor_profile.headline='cs-display-property'
widget-mentor_profile.city='cs-display-property'
widget-mentor_profile.country.name='cs-display-property'
widget-mentor_profile.registered_on='cs-display-property'
widget-mentorProfile.headline='cs-display-property'
widget-mentorProfile.city='cs-display-property'
widget-mentorProfile.country.name='cs-display-property'
widget-mentorProfile.registered_on='cs-display-property'
)
sib-display.bold(
......@@ -47,26 +45,26 @@ div.block_list.flex
sib-display#mentor_complementary(
bind-user
fields='biography_label, mentor_profile.biography, skills_label, mentor_profile.skills'
fields='biography_label, mentorProfile.biography, skills_label, mentorProfile.skills'
widget-biography_label='cs-display-label'
widget-skills_label='cs-display-label'
label-skills_label=`${data.Skills}`
label-biography_label=`${data.Activities}`
widget-mentor_profile.skills='cs-display-property'
widget-mentor_profile.biography='cs-display-property'
widget-mentorProfile.skills='cs-display-property'
widget-mentorProfile.biography='cs-display-property'
)
sib-display#mentor_contact(
bind-user
fields='email, mentor_profile.phone, mentor_profile.linkedin, mentor_profile.twitter'
fields='email, mentorProfile.phone, mentorProfile.linkedin, mentorProfile.twitter'
label-email=`${data.Email}`
class-email="contact_profil"
label-mentor_profile.phone=`${data.PhoneNumber}`
class-mentor_profile.phone="contact_profil"
label-mentorProfile.phone=`${data.PhoneNumber}`
class-mentorProfile.phone="contact_profil"
widget-email='cs-display-resource-property'
widget-mentor_profile.phone='cs-display-resource-property'
widget-mentor_profile.linkedin='cs-display-link'
widget-mentor_profile.twitter='cs-display-link'
label-mentor_profile.twitter='<i class="fab fa-twitter"></i>'
label-mentor_profile.linkedin='<i class="fab fa-linkedin-in"></i>'
widget-mentorProfile.phone='cs-display-resource-property'
widget-mentorProfile.linkedin='cs-display-link'
widget-mentorProfile.twitter='cs-display-link'
label-mentorProfile.twitter='<i class="fab fa-twitter"></i>'
label-mentorProfile.linkedin='<i class="fab fa-linkedin-in"></i>'
)
\ No newline at end of file
include ../../components/widgets
h2.title_create= data.EditYourAccount
sib-form#mentor_profile_edition.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),\
about_you(header_about_you, account.picture, mentor_profile.headline, mentor_profile.city, mentor_profile.country,\
mentor_profile.biography, mentor_profile.skills, resources),\
social_media(header_social_media, mentor_profile.linkedin, mentor_profile.twitter), username"
fields="account_information(last_name, first_name, mentorProfile.organisation,\
mentorProfile.phone, mentorProfile.languages, mentorProfile.fields),\
about_you(header_about_you, account.picture, mentorProfile.headline, mentorProfile.city, mentorProfile.country,\
mentorProfile.biography, mentorProfile.skills, resources),\
social_media(header_social_media, mentorProfile.linkedin, mentorProfile.twitter), username"
range-mentor_profile.fields=`${endpoints.fields}`
range-mentor_profile.organisation=`${endpoints.organisations}`
range-mentor_profile.languages=`${endpoints.languages}`
range-mentorProfile.fields=`${endpoints.fields}`
range-mentorProfile.organisation=`${endpoints.organisations}`
range-mentorProfile.languages=`${endpoints.languages}`
label-header_about_you=`${data.AboutYou}`
label-header_social_media=`${data.AboutYou}`
......@@ -22,35 +20,35 @@ sib-form#mentor_profile_edition.block_log.block_creat_count(
label-first_name=`${data.Surname}`
label-last_name=`${data.Name}`
label-mentor_profile.organisation=`${data.Organisation}`
label-mentor_profile.phone=`${data.PhoneNumber}`
label-mentor_profile.languages=`${data.Language}`
label-mentor_profile.fields=`${data.Field}`
label-mentorProfile.organisation=`${data.Organisation}`
label-mentorProfile.phone=`${data.PhoneNumber}`
label-mentorProfile.languages=`${data.Language}`
label-mentorProfile.fields=`${data.Field}`
label-account.picture=`${data.Photo}`
label-mentor_profile.headline=`${data.Headline}`
class-mentor_profile.headline="w_75"
label-mentor_profile.city=`${data.City}`
label-mentor_profile.country=`${data.Country}`
label-mentor_profile.biography=`${data.ActivitiesMore}`
label-mentor_profile.skills=`${data.SkillForEntrepreneur}`
label-mentor_profile.linkedin="Linkedin"
label-mentor_profile.twitter="Twitter"
widget-mentor_profile.skills="sib-form-textarea"
widget-mentor_profile.biography="sib-form-textarea"
label-mentorProfile.headline=`${data.Headline}`
class-mentorProfile.headline="w_75"
label-mentorProfile.city=`${data.City}`
label-mentorProfile.country=`${data.Country}`
label-mentorProfile.biography=`${data.ActivitiesMore}`
label-mentorProfile.skills=`${data.SkillForEntrepreneur}`
label-mentorProfile.linkedin="Linkedin"
label-mentorProfile.twitter="Twitter"
widget-mentorProfile.skills="sib-form-textarea"
widget-mentorProfile.biography="sib-form-textarea"
widget-username="sib-form-hidden"
widget-resources="hidden-widget"
class-mentor_profile.organisation='form-label is-dark'
widget-mentor_profile.organisation='sib-form-auto-completion'
class-mentorProfile.organisation='form-label is-dark'
widget-mentorProfile.organisation='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-mentorProfile.languages='form-label is-dark'
multiple-mentorProfile.languages='sib-multiple-select'
widget-mentorProfile.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-mentorProfile.fields='form-label is-dark'
multiple-mentorProfile.fields='sib-multiple-select'
widget-mentorProfile.fields='sib-form-auto-completion'
upload-url-account.picture=`${sdn}upload/`
widget-account.picture='cs-form-file-custom'
......
include ../../components/widgets
.block_log.block_creat_count.no_shadow
sib-link(class="backlink", next="mentor-resource-list")
.like
......
include ../../components/widgets
h2.title_lead_avenir=`${data.PostResource}`
p.p_entete=`${data.ThankYouEnrichingDatabase}`
......@@ -80,6 +78,8 @@ p.p_entete=`${data.ThankYouEnrichingDatabase}`
upload-url-preview_image=`${sdn}upload/`
widget-preview_image='cs-form-file-custom'
class-preview_image='input_photo w_25'
widget-iframe_link='sib-form-textarea'
submit-button=`${data.SendForValidation}`
next="resource-creation-confirmation"
......
include ../../components/widgets
.block_log.block_creat_count.no_shadow
sib-link(class="backlink", next="mentor-resource-list")
.like
......@@ -15,8 +13,8 @@ include ../../components/widgets
bind-resources,
fields='name, steps, format.name,\
submitter_info(submitter.account.picture, submitter.name, \
submitter.mentor_profile.organisation.name, skills, uri, broken),\
content(preview_image, tags),\
submitter.mentorProfile.organisation.name, skills, uri, broken),\
content(preview_image, iframe_link, tags),\
description, review.reviewer.account.picture, review.reviewer.name,\
copyright, specifications(\
header_specifications, author, country, language.name,\
......@@ -27,7 +25,7 @@ include ../../components/widgets
class-steps="steps"
widget-author='cs-display-resource-property',
widget-country='cs-display-resource-property',
widget-submitter.mentor_profile.organisation.name='cs-display-resource-property'
widget-submitter.mentorProfile.organisation.name='cs-display-resource-property'
class-submitter.name="autor_ressource"
class-broken="broken"
widget-format.name='cs-display-resource-property'
......@@ -54,6 +52,7 @@ include ../../components/widgets
label-publication_year=`${data.DatePublication}`
label-header_specifications=`${data.ResourceSpecifications}`
label-format.name=''
widget-iframe_link='iframe-video-resource'
widget-steps='cs-display-step-property'
label-steps=''
......@@ -69,7 +68,7 @@ include ../../components/widgets
label-uri=`${data.LinkToResource}`
name-uri='original-link'
label-country=`${data.Country}`
label-submitter.mentor_profile.organisation.name=`${data.Organisation}`
label-submitter.mentorProfile.organisation.name=`${data.Organisation}`
label-author=`${data.Author}`
label-submitter.name=`${data.ResourcePostedBy}`
action-broken='resource-report-broken-link-mentor'
......@@ -81,19 +80,19 @@ include ../../components/widgets
//- <p class="backlink"><i class='far fa-thumbs-down'></i>3</p>
//- </div>
sib-display(
bind-resources
fields=""
nested-field="likes"
counter-template="<p><i class='fas fa-thumbs-up'></i>${counter}</p>"
)
sib-display(
bind-resources
fields=""
nested-field="dislikes"
counter-template="<p><i class='fas fa-thumbs-down'></i>${counter}</p>"
)
//- sib-display(
//- bind-resources
//- fields=""
//- nested-field="likes"
//- counter-template="<p><i class='fas fa-thumbs-up'></i>${counter}</p>"
//- )
//- sib-display(
//- bind-resources
//- fields=""
//- nested-field="dislikes"
//- counter-template="<p><i class='fas fa-thumbs-down'></i>${counter}</p>"
//- )
sib-display(
bind-resources
......
include ../../components/widgets
h2.title_lead_avenir=`${data.EditResource}`
p.p_entete=`${data.ThankYouEnrichingDatabase}`
......@@ -18,6 +16,7 @@ p.p_entete=`${data.ThankYouEnrichingDatabase}`
widget-header_classification='cs-section_header'
widget-header_access='cs-section_header'
widget-header_related='cs-section_header'
widget-iframe_link='sib-form-textarea'
range-type=`${endpoints.types}`
range-format=`${endpoints.formats}`
......