Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
knowledgebase-front
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
Knowledge Base
knowledgebase-front
Commits
45361cf7
Commit
45361cf7
authored
5 years ago
by
Alice Poggioli
Browse files
Options
Downloads
Patches
Plain Diff
WIP: Entrepreneur dashboard- filter the resources.
parent
ce1f85ba
No related branches found
Branches containing commit
Tags
v1.1.2
Tags containing commit
2 merge requests
!30
Feature/mentor edit account
,
!29
Feature/entrepreneur account
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/includes/components/widgets.pug
+3
-1
3 additions, 1 deletion
src/includes/components/widgets.pug
src/includes/entrepreneur/resources/list.pug
+25
-2
25 additions, 2 deletions
src/includes/entrepreneur/resources/list.pug
with
28 additions
and
3 deletions
src/includes/components/widgets.pug
+
3
−
1
View file @
45361cf7
...
@@ -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')
...
...
This diff is collapsed.
Click to expand it.
src/includes/entrepreneur/resources/list.pug
+
25
−
2
View file @
45361cf7
...
@@ -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'
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment