2019-06-05 08:50:33 +00:00
|
|
|
sib-widget(name='hd-counter')
|
|
|
|
template
|
2020-02-26 21:51:30 +00:00
|
|
|
sib-badge(data-src="${value || src}")
|
2019-09-26 09:43:21 +00:00
|
|
|
|
|
|
|
sib-widget(name='hd-create')
|
|
|
|
template
|
2019-11-18 13:14:46 +00:00
|
|
|
p.create You are not part of any ${value} yet. To create a new one, you can go to the
|
|
|
|
sib-link(next='admin') administration panel
|
2019-09-26 09:43:21 +00:00
|
|
|
|
2020-02-10 12:59:23 +00:00
|
|
|
sib-widget(name='menu-fix-url-circle')
|
|
|
|
template
|
|
|
|
sib-display(
|
|
|
|
data-src='${value}'
|
|
|
|
fields='name, badge'
|
|
|
|
value-badge='${value}'
|
|
|
|
widget-badge='hd-counter'
|
|
|
|
widget-name='sib-display-div'
|
|
|
|
)
|
|
|
|
|
|
|
|
sib-widget(name='menu-fix-url-project')
|
|
|
|
template
|
|
|
|
sib-display(
|
|
|
|
data-src='${value}'
|
|
|
|
fields='project(customer.name, name), badge'
|
|
|
|
class-name='project-name'
|
|
|
|
class-customer.name='project-customer'
|
|
|
|
value-badge='${value}'
|
|
|
|
widget-badge='hd-counter'
|
|
|
|
widget-name='sib-display-div'
|
|
|
|
)
|
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
nav#main__menu.jsLeftMenu
|
2018-11-16 10:33:39 +00:00
|
|
|
sib-router#navbar-router(default-route='members')
|
2020-02-10 12:59:23 +00:00
|
|
|
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
|
|
|
sib-route.menu(name='members')
|
|
|
|
div.menu-label Members
|
|
|
|
div.menu-icon.icon-people
|
|
|
|
div.divider
|
|
|
|
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
|
|
|
sib-route.menu(name='job-offers', rdf-type='hd:joboffer')
|
|
|
|
div.menu-label Job offers
|
|
|
|
div.menu-icon.icon-briefcase
|
|
|
|
div.divider
|
2020-02-03 14:43:16 +00:00
|
|
|
if endpoints.events || (endpoints.get && endpoints.get.events)
|
|
|
|
sib-route.menu(name='events')
|
|
|
|
div.menu-label Events
|
|
|
|
div.menu-icon.icon-calendar
|
|
|
|
div.divider
|
2020-02-03 13:39:14 +00:00
|
|
|
if endpoints.projects || (endpoints.get && endpoints.get.projects)
|
|
|
|
div
|
|
|
|
div.menu
|
|
|
|
div.menu-chevron
|
|
|
|
sib-link(next='admin-project-list')
|
|
|
|
div.menu-icon.icon-arrow-right
|
|
|
|
div.menu-label Projects
|
|
|
|
div.menu-icon.icon-folder-alt
|
|
|
|
sib-route(name='project', rdf-type='hd:project', use-id='', hidden)
|
|
|
|
div.sub-menu.menu-notification
|
|
|
|
sib-display.project-tab(
|
2020-02-10 12:59:23 +00:00
|
|
|
bind-user
|
|
|
|
nested-field='projects'
|
|
|
|
fields='project'
|
2020-02-03 13:39:14 +00:00
|
|
|
empty-widget='hd-create'
|
|
|
|
empty-value='project'
|
2020-02-10 12:59:23 +00:00
|
|
|
widget-project='menu-fix-url-project'
|
|
|
|
order-by='project.customer.name'
|
2020-02-03 13:39:14 +00:00
|
|
|
next='project'
|
|
|
|
)
|
|
|
|
div.divider
|
|
|
|
if endpoints.circles || (endpoints.get && endpoints.get.circles)
|
|
|
|
div
|
|
|
|
div.menu
|
|
|
|
div.menu-chevron
|
|
|
|
sib-link(next='admin-circle-list')
|
|
|
|
div.menu-icon.icon-arrow-right
|
|
|
|
div.menu-label Circles
|
|
|
|
div.menu-icon.icon-folder-alt
|
|
|
|
sib-route(name='circle', rdf-type='hd:circle', use-id='', hidden)
|
|
|
|
div.sub-menu.menu-notification
|
|
|
|
sib-display(
|
|
|
|
bind-user
|
|
|
|
nested-field='circles'
|
|
|
|
fields='circle'
|
|
|
|
empty-widget='hd-create'
|
|
|
|
empty-value='circle'
|
2020-02-10 12:59:23 +00:00
|
|
|
widget-circle='menu-fix-url-circle'
|
2020-02-03 13:39:14 +00:00
|
|
|
order-by='circle.name'
|
|
|
|
next='circle'
|
|
|
|
)
|
|
|
|
div.divider
|
|
|
|
if endpoints.users || (endpoints.get && endpoints.get.users)
|
|
|
|
div.menu-wrapper
|
|
|
|
div.menu
|
|
|
|
div.menu-chevron
|
|
|
|
div.menu-icon.icon-arrow-up
|
|
|
|
div.menu-label Chat
|
|
|
|
div.menu-icon.icon-envelope-letter
|
|
|
|
sib-route(name='messages', rdf-type='foaf:user', use-id='', hidden)
|
|
|
|
div.sub-menu.menu-notification
|
|
|
|
sib-display.nosub(
|
|
|
|
data-src=`${endpoints.users || (endpoints.get && endpoints.get.users)}`
|
|
|
|
fields='username, badge'
|
|
|
|
widget-username='sib-display-div'
|
|
|
|
widget-badge='hd-counter'
|
|
|
|
action-badge='badge'
|
|
|
|
order-by='username'
|
|
|
|
next='messages'
|
|
|
|
)
|
|
|
|
div.divider
|
2019-06-05 08:50:33 +00:00
|
|
|
|
2019-11-14 12:27:04 +00:00
|
|
|
sib-route(name='admin', hidden)
|
2019-08-08 13:20:31 +00:00
|
|
|
//- div.divider
|
|
|
|
//- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='')
|
2019-04-22 14:13:24 +00:00
|
|
|
|