2020-06-18 18:02:54 +00:00
|
|
|
solid-widget(name='hubl-counter')
|
2019-06-05 08:50:33 +00:00
|
|
|
template
|
2020-08-04 09:12:21 +00:00
|
|
|
solid-badge(data-src="${value == 'badge' ? src : value}")
|
2019-09-26 09:43:21 +00:00
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-widget(name='hubl-menu-jabberid')
|
2020-05-08 13:27:44 +00:00
|
|
|
template
|
|
|
|
div.hidden(
|
|
|
|
data-jabberID="${value}"
|
|
|
|
)
|
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-widget(name='hubl-menu-publicprivate')
|
2020-05-19 17:42:32 +00:00
|
|
|
template
|
|
|
|
div ${value == 'Public' ? '#' : ''}
|
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-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
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-link(next='admin') panneau d'administration
|
2019-09-26 09:43:21 +00:00
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-widget(name='hubl-menu-fix-url-circle')
|
2020-02-10 12:59:23 +00:00
|
|
|
template
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-display(
|
2020-02-10 12:59:23 +00:00
|
|
|
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-06-18 18:02:54 +00:00
|
|
|
widget-name='solid-display-div'
|
2020-05-20 14:42:11 +00:00
|
|
|
order-by="name"
|
2020-02-10 12:59:23 +00:00
|
|
|
)
|
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-widget(name='hubl-menu-fix-url-project')
|
2020-02-10 12:59:23 +00:00
|
|
|
template
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-display(
|
2020-02-10 12:59:23 +00:00
|
|
|
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-06-18 18:02:54 +00:00
|
|
|
widget-name='solid-display-div'
|
2020-05-20 14:42:11 +00:00
|
|
|
order-by="customer.name"
|
2020-02-10 12:59:23 +00:00
|
|
|
)
|
|
|
|
|
2020-06-01 15:11:24 +00:00
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-router#navbar-router(default-route='dashboard')
|
2020-06-01 15:11:24 +00:00
|
|
|
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-route.menu(name='dashboard')
|
2020-06-01 15:11:24 +00:00
|
|
|
div.menu-label Tableau de bord
|
|
|
|
div.menu-icon.icon-home
|
|
|
|
div.divider
|
|
|
|
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-route.menu(name='members')
|
2020-06-01 15:11:24 +00:00
|
|
|
div.menu-label Annuaire des membres
|
|
|
|
div.menu-icon.icon-people
|
|
|
|
div.divider
|
|
|
|
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-route.menu(name='job-offers', rdf-type='hd:joboffer')
|
2020-06-01 15:11:24 +00:00
|
|
|
div.menu-label Offres de mission
|
|
|
|
div.menu-icon.icon-briefcase
|
|
|
|
div.divider
|
|
|
|
if endpoints.events || (endpoints.get && endpoints.get.events)
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-route.menu(name='events')
|
2020-06-01 15:11:24 +00:00
|
|
|
div.menu-label Evènements
|
|
|
|
div.menu-icon.icon-calendar
|
|
|
|
div.divider
|
|
|
|
if endpoints.projects || (endpoints.get && endpoints.get.projects)
|
|
|
|
div
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-link(next='admin-project-list')
|
2020-06-01 15:11:24 +00:00
|
|
|
div.menu
|
|
|
|
div.menu-chevron
|
|
|
|
div.menu-icon.icon-arrow-right-circle
|
|
|
|
div.menu-label Projets
|
|
|
|
div.menu-icon.icon-folder-alt
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-route(name='project', rdf-type='hd:project', use-id='', hidden)
|
2020-06-01 15:11:24 +00:00
|
|
|
div.sub-menu.menu-notification
|
2020-08-28 11:46:25 +00:00
|
|
|
div#loader-projects.loader.loader-menu
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-display.project-tab(
|
2020-06-01 15:11:24 +00:00
|
|
|
bind-user
|
|
|
|
nested-field='projects'
|
|
|
|
fields='project'
|
2020-08-28 11:46:25 +00:00
|
|
|
loader-id='loader-projects'
|
2020-06-01 15:11:24 +00:00
|
|
|
empty-widget='hubl-create'
|
|
|
|
empty-value='projet'
|
|
|
|
widget-project='hubl-menu-fix-url-project'
|
|
|
|
order-by='project.customer.name'
|
|
|
|
next='project'
|
|
|
|
)
|
|
|
|
div.divider
|
|
|
|
if endpoints.circles || (endpoints.get && endpoints.get.circles)
|
|
|
|
div
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-link(next='admin-circle-list')
|
2020-02-03 13:39:14 +00:00
|
|
|
div.menu
|
|
|
|
div.menu-chevron
|
2020-06-01 15:11:24 +00:00
|
|
|
div.menu-icon.icon-arrow-right-circle
|
2020-08-24 11:13:48 +00:00
|
|
|
div.menu-label Cercles
|
2020-06-01 15:11:24 +00:00
|
|
|
div.menu-icon.icon-folder-alt
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-route(name='circle', rdf-type='hd:circle', use-id='', hidden)
|
2020-06-01 15:11:24 +00:00
|
|
|
div.sub-menu.menu-notification
|
2020-08-28 11:46:25 +00:00
|
|
|
div#loader-circles.loader.loader-menu
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-display.circle-tab(
|
2020-06-01 15:11:24 +00:00
|
|
|
bind-user
|
|
|
|
nested-field='circles'
|
|
|
|
fields='circle'
|
2020-08-28 11:46:25 +00:00
|
|
|
loader-id='loader-circles'
|
2020-06-01 15:11:24 +00:00
|
|
|
empty-widget='hubl-create'
|
2020-08-24 11:13:48 +00:00
|
|
|
empty-value='cercle'
|
2020-06-01 15:11:24 +00:00
|
|
|
widget-circle='hubl-menu-fix-url-circle'
|
|
|
|
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 Messages
|
|
|
|
div.menu-icon.icon-envelope-letter
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-route(name='messages', rdf-type='foaf:user', use-id='', hidden)
|
2020-06-01 15:11:24 +00:00
|
|
|
div.sub-menu.menu-notification
|
2020-08-28 11:46:25 +00:00
|
|
|
div#loader-messages.loader.loader-menu
|
2020-08-26 15:41:14 +00:00
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-display.nosub.message-tab(
|
2020-06-01 15:11:24 +00:00
|
|
|
data-src=`${endpoints.users || (endpoints.get && endpoints.get.users)}`
|
|
|
|
fields='name, chatProfile.jabberID, badge'
|
2020-08-28 09:31:11 +00:00
|
|
|
loader-id='loader-messages'
|
2020-06-01 15:11:24 +00:00
|
|
|
search-fields="name"
|
|
|
|
search-label-name="Rechercher..."
|
|
|
|
search-widget-name="hubl-search-users"
|
2020-06-18 18:02:54 +00:00
|
|
|
widget-name='solid-display-div'
|
2020-06-01 15:11:24 +00:00
|
|
|
widget-badge='hubl-counter'
|
|
|
|
widget-chatProfile.jabberID='hubl-menu-jabberid'
|
|
|
|
action-badge='badge'
|
|
|
|
order-by='username'
|
|
|
|
next='messages'
|
|
|
|
paginate-by='10'
|
|
|
|
)
|
|
|
|
div.divider
|
2019-06-05 08:50:33 +00:00
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-route(name='admin', hidden)
|
|
|
|
solid-route.menu(name='profile', hidden)
|
|
|
|
solid-route(name='about', hidden)
|