Skip to content
Snippets Groups Projects
Commit 839f7aa0 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

First draft of the listing of resources on the homepage

parent 681c9901
No related branches found
No related tags found
No related merge requests found
//TODO: Dashboard is the Mentor Dashboard, only
//accessible when logged-in, so should be protected
//by sid-oidc.
\ No newline at end of file
section#home
h1 Mentorship program
p International index of resources for cooperative mentors and entrepreneurs
p: a Watch a presentation
h2 Search for a resource
//TODO:
//-Distinguish the search form from the listing
//-Create two Sib-displays getting the resources by "types"
// From two different endpoints I guess
//-Testing the group-by right after the 0.8 version release
//-Work on the page architecture
sib-widget(name='resource-format-title')
template
p ${value.title}
#circles
sib-display#circles-list(
data-src=`${sdn}/resources/`,
data-fields='title, description',
search-fields='title, description',
next='group'
data-fields='title, description, format, author, publication_year, language.name, steps',
search-fields='title, description, format',
widget-format='resource-format-title',
multiple-format,
widget-steps='resource-format-title',
multiple-steps,
set-content='title, description',
set-info='author, publication_year, language.name',
next='detail'
)
//- group-by='step'
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