fix: Customer additional field
This commit is contained in:
parent
628fec9a94
commit
eed570dc87
@ -19,9 +19,7 @@ if endpoints.events || (endpoints.get && endpoints.get.events)
|
|||||||
|
|
||||||
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3" defer)
|
script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3" defer)
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3" defer)
|
//- script(type="module" src="/lib/sib-job-board/dist/index.js" defer)
|
||||||
//- script(type="module" src="/lib/sib-job-board/sib-job-board.js" defer)
|
|
||||||
//- script(type="module" src="/lib/sib-conversation/sib-conversation.js" defer)
|
|
||||||
|
|
||||||
if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users))
|
if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users))
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.4" defer)
|
script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.4" defer)
|
||||||
|
@ -34,5 +34,4 @@ nav.jsRightMenu(role='navigation')
|
|||||||
sib-route(name='project-information')
|
sib-route(name='project-information')
|
||||||
li
|
li
|
||||||
a Information
|
a Information
|
||||||
sib-route(name='project-contributions-help')
|
|
||||||
sib-route(name='project-picture' use-id)
|
sib-route(name='project-picture' use-id)
|
@ -27,9 +27,15 @@ async function updateSources(resource) {
|
|||||||
|
|
||||||
async function resToChildrens(resource) {
|
async function resToChildrens(resource) {
|
||||||
resource = resource.getResourceData();
|
resource = resource.getResourceData();
|
||||||
refreshSibDisplays(resource["http://happy-dev.fr/owl/#user"]["@id"]);
|
if (resource["http://happy-dev.fr/owl/#user"]) {
|
||||||
refreshSibDisplays(resource["http://happy-dev.fr/owl/#project"]["@id"] + "members/");
|
refreshSibDisplays(resource["http://happy-dev.fr/owl/#user"]["@id"]);
|
||||||
refreshSibDisplays(resource["http://happy-dev.fr/owl/#circle"]["@id"] + "members/");
|
}
|
||||||
|
if (resource["http://happy-dev.fr/owl/#project"]) {
|
||||||
|
refreshSibDisplays(resource["http://happy-dev.fr/owl/#project"]["@id"] + "members/");
|
||||||
|
}
|
||||||
|
if (resource["http://happy-dev.fr/owl/#circle"]) {
|
||||||
|
refreshSibDisplays(resource["http://happy-dev.fr/owl/#circle"]["@id"] + "members/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//auxiliary function updates displays using a given resource
|
//auxiliary function updates displays using a given resource
|
||||||
|
@ -31,7 +31,7 @@ div.content-box__info
|
|||||||
next='project-information'
|
next='project-information'
|
||||||
)
|
)
|
||||||
|
|
||||||
h2 PPhoto du projet
|
h2 Photo du projet
|
||||||
|
|
||||||
sib-form.form-picture(
|
sib-form.form-picture(
|
||||||
bind-resources
|
bind-resources
|
||||||
|
@ -11,4 +11,5 @@ div.content-box__info
|
|||||||
nested-fields='customer'
|
nested-fields='customer'
|
||||||
fields='logo'
|
fields='logo'
|
||||||
next='project-edit'
|
next='project-edit'
|
||||||
|
additional='name'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user