2020-05-08 13:27:44 +00:00
|
|
|
sib-widget(name='hubl-counter')
|
2019-06-05 08:50:33 +00:00
|
|
|
template
|
2020-03-12 07:53:39 +00:00
|
|
|
sib-fix-badge(data-src="${value == 'badge' ? src : value}")
|
2019-09-26 09:43:21 +00:00
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
sib-widget(name='hubl-menu-jabberid')
|
|
|
|
template
|
|
|
|
div.hidden(
|
|
|
|
data-jabberID="${value}"
|
|
|
|
)
|
|
|
|
|
2020-05-19 17:42:32 +00:00
|
|
|
sib-widget(name='hubl-menu-publicprivate')
|
|
|
|
template
|
|
|
|
div ${value == 'Public' ? '#' : ''}
|
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
sib-widget(name='hubl-create')
|
2019-09-26 09:43:21 +00:00
|
|
|
template
|
2020-04-21 08:20:06 +00:00
|
|
|
p.create Tu ne fais partie d'aucun ${value}.
|
|
|
|
br
|
|
|
|
| Pour en créer un nouveau, tu peux te rendre dans le
|
|
|
|
sib-link(next='admin') panneau d'administration
|
2019-09-26 09:43:21 +00:00
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
sib-widget(name='hubl-menu-fix-url-circle')
|
2020-02-10 12:59:23 +00:00
|
|
|
template
|
|
|
|
sib-display(
|
|
|
|
data-src='${value}'
|
2020-05-19 17:42:32 +00:00
|
|
|
fields='status, name, jabberID, badge'
|
2020-02-10 12:59:23 +00:00
|
|
|
value-badge='${value}'
|
2020-05-19 17:42:32 +00:00
|
|
|
widget-status='hubl-menu-publicprivate'
|
2020-05-08 13:27:44 +00:00
|
|
|
widget-badge='hubl-counter'
|
|
|
|
widget-jabberID='hubl-menu-jabberid'
|
2020-02-10 12:59:23 +00:00
|
|
|
widget-name='sib-display-div'
|
2020-05-20 14:42:11 +00:00
|
|
|
order-by="name"
|
2020-02-10 12:59:23 +00:00
|
|
|
)
|
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
sib-widget(name='hubl-menu-fix-url-project')
|
2020-02-10 12:59:23 +00:00
|
|
|
template
|
|
|
|
sib-display(
|
|
|
|
data-src='${value}'
|
2020-05-19 17:42:32 +00:00
|
|
|
fields='status, project(customer.name, name, jabberID), badge'
|
2020-02-10 12:59:23 +00:00
|
|
|
class-name='project-name'
|
|
|
|
class-customer.name='project-customer'
|
|
|
|
value-badge='${value}'
|
2020-05-19 17:42:32 +00:00
|
|
|
widget-status='hubl-menu-publicprivate'
|
2020-05-08 13:27:44 +00:00
|
|
|
widget-jabberID='hubl-menu-jabberid'
|
|
|
|
widget-badge='hubl-counter'
|
2020-02-10 12:59:23 +00:00
|
|
|
widget-name='sib-display-div'
|
2020-05-20 14:42:11 +00:00
|
|
|
order-by="customer.name"
|
2020-02-10 12:59:23 +00:00
|
|
|
)
|
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
nav#main__menu.jsLeftMenu
|
2020-03-26 10:19:11 +00:00
|
|
|
sib-router#navbar-router(default-route='dashboard')
|
2020-04-15 13:21:02 +00:00
|
|
|
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
|
2020-03-26 10:19:11 +00:00
|
|
|
sib-route.menu(name='dashboard')
|
2020-04-21 08:20:06 +00:00
|
|
|
div.menu-label Tableau de bord
|
2020-04-17 14:23:53 +00:00
|
|
|
div.menu-icon.icon-home
|
2020-03-26 10:19:11 +00:00
|
|
|
div.divider
|
2020-02-10 12:59:23 +00:00
|
|
|
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
|
|
|
sib-route.menu(name='members')
|
2020-04-21 08:20:06 +00:00
|
|
|
div.menu-label Annuaire des membres
|
2020-02-10 12:59:23 +00:00
|
|
|
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')
|
2020-04-21 08:20:06 +00:00
|
|
|
div.menu-label Offres de mission
|
2020-02-10 12:59:23 +00:00
|
|
|
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')
|
2020-04-21 08:20:06 +00:00
|
|
|
div.menu-label Evènements
|
2020-02-03 14:43:16 +00:00
|
|
|
div.menu-icon.icon-calendar
|
|
|
|
div.divider
|
2020-02-03 13:39:14 +00:00
|
|
|
if endpoints.projects || (endpoints.get && endpoints.get.projects)
|
|
|
|
div
|
2020-05-27 06:44:54 +00:00
|
|
|
sib-link(next='admin-project-list')
|
|
|
|
div.menu
|
|
|
|
div.menu-chevron
|
|
|
|
div.menu-icon.icon-arrow-right-circle
|
|
|
|
div.menu-label Projets
|
|
|
|
div.menu-icon.icon-folder-alt
|
2020-02-03 13:39:14 +00:00
|
|
|
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-05-08 13:27:44 +00:00
|
|
|
empty-widget='hubl-create'
|
2020-05-27 06:44:54 +00:00
|
|
|
empty-value='projet'
|
2020-05-08 13:27:44 +00:00
|
|
|
widget-project='hubl-menu-fix-url-project'
|
2020-02-10 12:59:23 +00:00
|
|
|
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
|
2020-05-27 06:44:54 +00:00
|
|
|
sib-link(next='admin-circle-list')
|
|
|
|
div.menu
|
|
|
|
div.menu-chevron
|
|
|
|
div.menu-icon.icon-arrow-right-circle
|
|
|
|
div.menu-label Canaux
|
|
|
|
div.menu-icon.icon-folder-alt
|
2020-02-03 13:39:14 +00:00
|
|
|
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'
|
2020-05-08 13:27:44 +00:00
|
|
|
empty-widget='hubl-create'
|
2020-05-27 10:55:15 +00:00
|
|
|
empty-value='canal'
|
2020-05-08 13:27:44 +00:00
|
|
|
widget-circle='hubl-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
|
2020-04-21 08:20:06 +00:00
|
|
|
div.menu-label Messages
|
2020-02-03 13:39:14 +00:00
|
|
|
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)}`
|
2020-05-08 13:27:44 +00:00
|
|
|
fields='name, chatProfile.jabberID, badge'
|
2020-05-19 17:09:59 +00:00
|
|
|
search-fields="name"
|
|
|
|
search-label-name="Rechercher..."
|
2020-05-20 14:42:11 +00:00
|
|
|
search-widget-name="hubl-search-users"
|
2020-05-08 13:27:44 +00:00
|
|
|
widget-name='sib-display-div'
|
|
|
|
widget-badge='hubl-counter'
|
|
|
|
widget-chatProfile.jabberID='hubl-menu-jabberid'
|
2020-02-03 13:39:14 +00:00
|
|
|
action-badge='badge'
|
|
|
|
order-by='username'
|
|
|
|
next='messages'
|
2020-05-19 17:09:59 +00:00
|
|
|
paginate-by='10'
|
2020-02-03 13:39:14 +00:00
|
|
|
)
|
|
|
|
div.divider
|
2019-06-05 08:50:33 +00:00
|
|
|
|
2019-11-14 12:27:04 +00:00
|
|
|
sib-route(name='admin', hidden)
|
2020-05-27 06:44:54 +00:00
|
|
|
sib-route.menu(name='profile', hidden)
|