minor: add new fields
This commit is contained in:
parent
3cfacf7789
commit
2343bdd5ea
@ -482,10 +482,17 @@ Module declaration, on `config.json`:
|
|||||||
"get": "http://server.url/job-offers/",
|
"get": "http://server.url/job-offers/",
|
||||||
"post": "http://server.url/job-offers/",
|
"post": "http://server.url/job-offers/",
|
||||||
"skills": "http://server.url/skills/"
|
"skills": "http://server.url/skills/"
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"fields": "earnBusinessProviding"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Where:
|
||||||
|
|
||||||
|
* `parameters.fields`: Optional set of custom fields. Notice that only `earnBusinessProviding` is already handled on djangoldp-joboffer.
|
||||||
|
|
||||||
### Notifications
|
### Notifications
|
||||||
|
|
||||||
The notification module adds a bell with user's notification list and a badge on each menus with how much notifications are related to this resource. You'll need:
|
The notification module adds a bell with user's notification list and a badge on each menus with how much notifications are related to this resource. You'll need:
|
||||||
|
@ -40,7 +40,7 @@ if componentSet.has('invoices')
|
|||||||
//- script(type="module" src="/lib/solid-invoicing/solid-invoicing.js" defer)
|
//- script(type="module" src="/lib/solid-invoicing/solid-invoicing.js" defer)
|
||||||
|
|
||||||
if componentSet.has("jobBoard")
|
if componentSet.has("jobBoard")
|
||||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-job-board@6.0" defer)
|
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-job-board@6.1" defer)
|
||||||
//- script(type="module" src="/lib/solid-job-board/dist/index.js" defer)
|
//- script(type="module" src="/lib/solid-job-board/dist/index.js" defer)
|
||||||
|
|
||||||
if componentSet.has("notification")
|
if componentSet.has("notification")
|
||||||
|
@ -3,4 +3,6 @@ solid-job-board(
|
|||||||
post-data-src=`${component.endpoints.post}`
|
post-data-src=`${component.endpoints.post}`
|
||||||
range-skills=`${component.endpoints.skills}`
|
range-skills=`${component.endpoints.skills}`
|
||||||
uniq=component.uniq
|
uniq=component.uniq
|
||||||
)
|
)&attributes({
|
||||||
|
"fields": component.parameters ? component.parameters.fields : false
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user