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
|
2021-01-26 17:46:26 +00:00
|
|
|
div(
|
|
|
|
class="${value == 'Public' ? 'text-simple-line-icons text-large': 'text-simple-line-icons text-xsmall'}"
|
2021-01-08 22:31:48 +00:00
|
|
|
) ${value == 'Public' ? '#' : ''}
|
2020-05-19 17:42:32 +00:00
|
|
|
|
2020-12-09 11:20:35 +00:00
|
|
|
solid-widget(name='hubl-create-contact')
|
|
|
|
template
|
2020-12-21 13:15:49 +00:00
|
|
|
p.create.text-color-white
|
2020-12-09 11:20:35 +00:00
|
|
|
span(data-trans="menuLeft.contact.create")
|
|
|
|
span
|
|
|
|
solid-link(next="members" data-trans="menuLeft.contact.profileDir")
|
|
|
|
span
|
|
|
|
span(data-trans="menuLeft.contact.create2")
|
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-widget(name='hubl-create')
|
2019-09-26 09:43:21 +00:00
|
|
|
template
|
2020-12-21 13:15:49 +00:00
|
|
|
p.create.text-color-white
|
2020-10-20 14:31:30 +00:00
|
|
|
span(data-trans="menuLeft.emptyCircleProject.notPartOf")
|
|
|
|
span ${value}.
|
2020-04-21 08:20:06 +00:00
|
|
|
br
|
2020-10-20 14:31:30 +00:00
|
|
|
span(data-trans="menuLeft.emptyCircleProject.createNew")
|
|
|
|
span
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-link.segment.full(next="${value == 'projet' ? 'admin-projects' : 'admin-circles'}", data-trans="menuLeft.emptyCircleProject.adminPanel")
|
2019-09-26 09:43:21 +00:00
|
|
|
|
2020-12-09 11:20:35 +00:00
|
|
|
solid-widget(name='hubl-menu-fix-url-contact')
|
|
|
|
template
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-link.segment.full(data-src="${value}" next="messages")
|
|
|
|
solid-display.segment.full.text-color-white.heading-active.bg-color-heading.hover.active(
|
2020-12-09 11:20:35 +00:00
|
|
|
data-src='${value}'
|
2021-01-12 14:54:00 +00:00
|
|
|
fields='segment(message(name, chatProfile.jabberID), badge)'
|
|
|
|
|
2021-01-22 13:29:45 +00:00
|
|
|
class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-small padding-left-medium"
|
|
|
|
class-message='segment three-quarter sub-menu-name'
|
2021-01-12 14:54:00 +00:00
|
|
|
class-badge='segment badge'
|
|
|
|
|
2020-12-09 11:20:35 +00:00
|
|
|
value-badge='${value}'
|
|
|
|
widget-badge='hubl-counter'
|
|
|
|
widget-chatProfile.jabberID='hubl-menu-jabberid'
|
|
|
|
widget-name='solid-display-div'
|
|
|
|
order-asc='username'
|
|
|
|
)
|
|
|
|
|
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
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-link.segment.full(data-src="${value}" next="circle")
|
|
|
|
solid-display.segment.full.text-color-white.heading-active.bg-color-heading.hover.active(
|
2020-10-19 08:40:59 +00:00
|
|
|
data-src='${value}'
|
2020-12-18 17:29:54 +00:00
|
|
|
fields='segment(status, circle(name, jabberID), badge)'
|
2021-01-22 13:29:45 +00:00
|
|
|
class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-small padding-left-medium"
|
2020-12-18 17:29:54 +00:00
|
|
|
|
2020-12-18 17:39:45 +00:00
|
|
|
class-status='segment text-top sub-menu-icon'
|
2020-12-18 17:29:54 +00:00
|
|
|
|
2021-01-22 13:29:45 +00:00
|
|
|
class-circle='segment three-quarter sub-menu-name'
|
2020-12-18 17:29:54 +00:00
|
|
|
|
2021-01-08 22:31:48 +00:00
|
|
|
class-name='ellipsis-content'
|
2020-12-18 17:29:54 +00:00
|
|
|
|
|
|
|
class-badge='segment badge'
|
|
|
|
|
2020-10-19 08:40:59 +00:00
|
|
|
value-badge='${value}'
|
|
|
|
widget-status='hubl-menu-publicprivate'
|
|
|
|
widget-badge='hubl-counter'
|
|
|
|
widget-jabberID='hubl-menu-jabberid'
|
|
|
|
widget-name='solid-display-div'
|
2020-12-09 11:20:35 +00:00
|
|
|
order-asc="name"
|
2020-10-19 08:40:59 +00:00
|
|
|
)
|
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
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-link.segment.full(data-src="${value}" next="project")
|
|
|
|
solid-display.segment.full.text-color-white.heading-active.bg-color-heading.hover.active(
|
2020-10-19 08:40:59 +00:00
|
|
|
data-src='${value}'
|
2020-12-18 16:23:46 +00:00
|
|
|
fields='segment(status, project(customer.name, name, jabberID), badge)'
|
2021-01-22 13:29:45 +00:00
|
|
|
class-segment="segment full padding-top-xxsmall padding-bottom-xxsmall padding-right-small padding-left-medium"
|
2020-12-18 16:23:46 +00:00
|
|
|
|
2020-12-18 17:39:45 +00:00
|
|
|
class-status='segment text-top sub-menu-icon'
|
2020-12-18 16:23:46 +00:00
|
|
|
|
2021-01-22 13:29:45 +00:00
|
|
|
class-project='segment three-quarter sub-menu-name'
|
2020-12-18 16:23:46 +00:00
|
|
|
|
2021-01-08 22:31:48 +00:00
|
|
|
class-customer.name='ellipsis-content'
|
|
|
|
class-name='ellipsis-content'
|
2020-12-18 16:23:46 +00:00
|
|
|
|
|
|
|
class-badge='segment badge text-top'
|
|
|
|
|
2020-10-19 08:40:59 +00:00
|
|
|
value-badge='${value}'
|
|
|
|
widget-status='hubl-menu-publicprivate'
|
|
|
|
widget-jabberID='hubl-menu-jabberid'
|
|
|
|
widget-badge='hubl-counter'
|
|
|
|
widget-name='solid-display-div'
|
2020-12-09 11:20:35 +00:00
|
|
|
order-asc="customer.name"
|
2020-10-19 08:40:59 +00:00
|
|
|
)
|
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')
|
2021-01-21 13:58:43 +00:00
|
|
|
if endpoints.get.dashboards
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='dashboard')
|
2021-01-11 17:45:43 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
|
|
|
div.icon.icon-small.icon-home
|
|
|
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.dashboard")
|
|
|
|
div.divider
|
2021-01-21 13:58:43 +00:00
|
|
|
if publicDirectory && endpoints.get.users
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='members')
|
2021-01-11 19:14:20 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
|
|
|
div.icon.icon-small.icon-people
|
|
|
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.profileDirectory")
|
|
|
|
div.divider
|
2021-01-21 13:58:43 +00:00
|
|
|
if endpoints.get.joboffers
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='job-offers', rdf-type='hd:joboffer')
|
2021-01-18 10:51:33 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
|
|
|
div.segment.icon.icon-small.icon-briefcase
|
|
|
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.jobBoard")
|
|
|
|
div.divider
|
2021-01-21 13:58:43 +00:00
|
|
|
if endpoints.get.resources
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='resources')
|
2021-01-11 19:14:20 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
|
|
|
div.segment.icon.icon-small.icon-docs
|
|
|
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.resources")
|
|
|
|
div.divider
|
2021-01-21 13:58:43 +00:00
|
|
|
if endpoints.get.polls
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='polls')
|
2021-01-11 19:14:20 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
|
|
|
div.segment.icon.icon-small.icon-bubbles
|
|
|
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.gov")
|
|
|
|
div.divider
|
2021-01-21 13:58:43 +00:00
|
|
|
if endpoints.get.events
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='events')
|
2021-01-11 19:14:20 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
|
|
|
div.segment.icon.icon-small.icon-calendar
|
|
|
|
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.events")
|
|
|
|
div.divider
|
2021-01-21 13:58:43 +00:00
|
|
|
if endpoints.get.projects
|
2021-01-10 16:53:56 +00:00
|
|
|
div.menu-wrapper
|
2021-01-22 15:26:19 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='admin-projects')
|
2021-01-10 16:53:56 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
|
|
|
div.segment.icon.icon-small.icon-folder-alt
|
2021-01-22 13:29:45 +00:00
|
|
|
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.projects")
|
2021-01-10 16:53:56 +00:00
|
|
|
div.menu-chevron.segment
|
2021-01-21 13:58:43 +00:00
|
|
|
div.icon-arrow-right-circle
|
2021-01-10 16:53:56 +00:00
|
|
|
solid-route(name='project', rdf-type='hd:project', use-id='', hidden)
|
2021-01-22 13:21:25 +00:00
|
|
|
solid-route(name='admin-projects-create', hidden)
|
|
|
|
solid-route(name='project-left', hidden)
|
2021-01-10 16:53:56 +00:00
|
|
|
div.sub-menu.menu-notification
|
|
|
|
div#loader-projects.loader.loader-menu
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
solid-display.ellipsis(
|
|
|
|
bind-user
|
|
|
|
nested-field='projects'
|
|
|
|
fields='project'
|
|
|
|
loader-id='loader-projects'
|
|
|
|
empty-widget='hubl-create'
|
|
|
|
empty-value=''
|
|
|
|
data-trans="empty-value=menuLeft.emptyCircleProject.project"
|
|
|
|
widget-project='hubl-menu-fix-url-project'
|
|
|
|
order-asc="project.customer.name"
|
|
|
|
)
|
|
|
|
div.divider
|
2021-01-21 13:58:43 +00:00
|
|
|
if endpoints.get.circles
|
2020-12-29 16:54:17 +00:00
|
|
|
div.menu-wrapper
|
2021-01-22 15:26:19 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='admin-circles')
|
2020-12-29 16:54:17 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
|
|
|
div.segment.icon.icon-small.icon-folder-alt
|
2021-01-22 13:29:45 +00:00
|
|
|
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.circles")
|
2020-12-29 16:54:17 +00:00
|
|
|
div.menu-chevron.segment
|
2021-01-21 13:58:43 +00:00
|
|
|
div.menu-icon.icon-arrow-right-circle
|
2021-01-08 14:39:37 +00:00
|
|
|
solid-route(name='circle', rdf-type='hd:circle', use-id='', hidden)
|
2021-01-22 13:21:25 +00:00
|
|
|
solid-route(name='admin-circles-create')
|
|
|
|
solid-route(name='circle-left')
|
2020-12-29 16:54:17 +00:00
|
|
|
div.sub-menu.menu-notification
|
2021-01-08 14:39:37 +00:00
|
|
|
div#loader-circles.loader.loader-menu
|
2020-12-29 16:54:17 +00:00
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
solid-display.ellipsis(
|
|
|
|
bind-user
|
2021-01-08 14:39:37 +00:00
|
|
|
nested-field='circles'
|
|
|
|
fields='circle'
|
|
|
|
loader-id='loader-circles'
|
2020-12-29 16:54:17 +00:00
|
|
|
empty-widget='hubl-create'
|
|
|
|
empty-value=''
|
2021-01-08 14:39:37 +00:00
|
|
|
data-trans="empty-value=menuLeft.emptyCircleProject.circle"
|
|
|
|
widget-circle='hubl-menu-fix-url-circle'
|
|
|
|
order-asc="circle.name"
|
2020-12-29 16:54:17 +00:00
|
|
|
)
|
2021-01-04 14:26:53 +00:00
|
|
|
div.divider
|
2021-01-11 19:14:20 +00:00
|
|
|
div.menu-wrapper
|
2021-01-22 15:26:19 +00:00
|
|
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='admin-communities')
|
2021-01-11 19:14:20 +00:00
|
|
|
div.segment.margin-right-xxsmall
|
2021-01-22 13:21:25 +00:00
|
|
|
div.segment.icon.icon-small.icon-folder-alt
|
2021-01-22 13:29:45 +00:00
|
|
|
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.messages")
|
2021-01-11 19:14:20 +00:00
|
|
|
div.menu-chevron.segment
|
2021-01-22 13:21:25 +00:00
|
|
|
div.menu-icon.icon-arrow-right-circle
|
|
|
|
solid-route(name='admin-users-create', use-id='', hidden)
|
2021-01-11 19:14:20 +00:00
|
|
|
solid-route(name='messages', rdf-type='foaf:user', use-id='', hidden)
|
|
|
|
div.sub-menu.menu-notification
|
|
|
|
div#loader-messages.loader.loader-menu
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
//- search-fields="contact.name"
|
|
|
|
//- search-label-contact.name=""
|
|
|
|
//- data-trans="search-label-contact.name=menuLeft.search"
|
|
|
|
//- search-widget-contact.name="hubl-search-users"
|
2021-01-22 13:29:45 +00:00
|
|
|
solid-display.segment.full.whitespace-normal(
|
2021-01-11 19:14:20 +00:00
|
|
|
bind-user
|
|
|
|
nested-field='contacts'
|
|
|
|
fields='contact'
|
|
|
|
loader-id='loader-messages'
|
|
|
|
empty-widget='hubl-create-contact'
|
|
|
|
empty-value=''
|
|
|
|
widget-contact='hubl-menu-fix-url-contact'
|
|
|
|
order-asc="contact.username"
|
|
|
|
)
|
|
|
|
div.divider
|
|
|
|
|
|
|
|
solid-route.menu(name='profile', hidden)
|
2021-01-10 16:53:56 +00:00
|
|
|
solid-route(name='about', hidden)
|