Skip to content
Snippets Groups Projects
Commit 45361cf7 authored by Alice Poggioli's avatar Alice Poggioli
Browse files

WIP: Entrepreneur dashboard- filter the resources.

parent ce1f85ba
No related branches found
Tags v1.1.2
2 merge requests!30Feature/mentor edit account,!29Feature/entrepreneur account
...@@ -12,7 +12,9 @@ sib-widget(name='cs-display-property') ...@@ -12,7 +12,9 @@ sib-widget(name='cs-display-property')
sib-widget(name='cs-steps-resources-multiple') sib-widget(name='cs-steps-resources-multiple')
template template
p ${value.name} div.resource_resume_header
p ${value.name}
p ${value.publication_year}
p ${value.description} p ${value.description}
sib-widget(name='cs-display-link') sib-widget(name='cs-display-link')
......
...@@ -2,14 +2,37 @@ include ../../components/widgets ...@@ -2,14 +2,37 @@ include ../../components/widgets
h2.title_form Search for a resource h2.title_form Search for a resource
//-Question :
//the render by default of the steps'field should be render by the widget : "cs-display-step-property"
//=> With the architecture how we do that??
//Sould I use jquery to build the steps'accordion?
//Is there in the project any example to help fred putting the right class on the tag?
//What's the best way to retrieve the name of the format? By the resource we get a number. Sould we manage this with a 'switch/case' in js?
//It seems that we don't have likes and dislikes data : sould i ignore them for the moment?
// To filter by type, I imagine something like that :
//Sib-display (who get all ressources)
// sib-display (with type 1)
// nested-field (to filter by step)
// sib-display (with type 2)
// nested-field (to filter by step)
// => We active one of them on demand with js
#circles #circles
sib-display#circles-list( sib-display#circles-list(
data-src=`${endpoints.steps}`, data-src=`${endpoints.steps}`,
fields='name, order, resources' fields='order, name, resources'
widget-fields='cs-display-step-property'
widget-name='cs-display-property'
label-resources='' label-resources=''
label-each-resources='Resource:' label-each-resources='Resource:'
multiple-resources multiple-resources
widget-resources='cs-steps-resources-multiple' widget-resources='cs-steps-resources-multiple'
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment