update: Adding proper conditions
This commit is contained in:
parent
523fba94be
commit
af86fe9dbc
@ -14,15 +14,15 @@ script(type="module" src="https://unpkg.com/@startinblox/router@0.8" defer)
|
|||||||
script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.6.2" defer)
|
script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.6.2" defer)
|
||||||
//- script(type="module" src="/lib/sib-notifications/index.js" defer)
|
//- script(type="module" src="/lib/sib-notifications/index.js" defer)
|
||||||
|
|
||||||
if endpoints.events || (endpoints.get && endpoints.get.events)
|
if (endpoints.events || (endpoints.get && endpoints.get.events)) && (endpoints.typeevents || (endpoints.get && endpoints.get.typeevents))
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-event@1.1" defer)
|
//- script(type="module" src="https://unpkg.com/@startinblox/component-event@1.1" defer)
|
||||||
//- script(type="module" src="/lib/sib-event-component/sib-event.js" defer)
|
script(type="module" src="/lib/sib-event-component/sib-event.js" defer)
|
||||||
|
|
||||||
if endpoints.resources || (endpoints.get && endpoints.get.resources)
|
if (endpoints.resources || (endpoints.get && endpoints.get.resources)) && (endpoints.resourceskeywords || (endpoints.get && endpoints.get.resourceskeywords)) && (endpoints.resourcestypes || (endpoints.get && endpoints.get.resourcestypes))
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-resource@1.0" defer)
|
//- script(type="module" src="https://unpkg.com/@startinblox/component-resource@1.0" defer)
|
||||||
//-script(type="module" src="/lib/sib-resource/sib-resource.js" defer)
|
script(type="module" src="/lib/sib-resource/sib-resource.js" defer)
|
||||||
|
|
||||||
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.5" defer)
|
script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.5" 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)
|
||||||
|
|
||||||
|
@ -34,13 +34,16 @@ nav.jsRightMenu(role='navigation')
|
|||||||
solid-route(name='circle-information')
|
solid-route(name='circle-information')
|
||||||
li
|
li
|
||||||
a Information
|
a Information
|
||||||
solid-route(name='circle-resources' use-id)
|
if (endpoints.resources || (endpoints.get && endpoints.get.resources)) && (endpoints.resourceskeywords || (endpoints.get && endpoints.get.resourceskeywords)) && (endpoints.resourcestypes || (endpoints.get && endpoints.get.resourcestypes))
|
||||||
li
|
solid-route(name='circle-resources' use-id)
|
||||||
a Resources
|
li
|
||||||
solid-route(name='circle-events' use-id)
|
a Resources
|
||||||
li
|
if (endpoints.events || (endpoints.get && endpoints.get.events)) && (endpoints.typeevents || (endpoints.get && endpoints.get.typeevents))
|
||||||
a Events
|
solid-route(name='circle-events' use-id)
|
||||||
solid-route(name='circle-polls' use-id)
|
li
|
||||||
li
|
a Events
|
||||||
a Polls
|
if endpoints.polls || (endpoints.get && endpoints.get.polls)
|
||||||
|
solid-route(name='circle-polls' use-id)
|
||||||
|
li
|
||||||
|
a Polls
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user