199 lines
6.6 KiB
Plaintext
199 lines
6.6 KiB
Plaintext
solid-widget(name='hubl-counter')
|
|
template
|
|
solid-badge(data-src="${value == 'badge' ? src : value}")
|
|
|
|
solid-widget(name='hubl-menu-jabberid')
|
|
template
|
|
div.hidden(
|
|
data-jabberID="${value}"
|
|
)
|
|
|
|
solid-widget(name='hubl-menu-publicprivate')
|
|
template
|
|
div ${value == 'Public' ? '#' : ''}
|
|
|
|
solid-widget(name='hubl-create-contact')
|
|
template
|
|
p.create
|
|
span(data-trans="menuLeft.contact.create")
|
|
span
|
|
solid-link(next="members" data-trans="menuLeft.contact.profileDir")
|
|
span
|
|
span(data-trans="menuLeft.contact.create2")
|
|
|
|
solid-widget(name='hubl-create')
|
|
template
|
|
p.create
|
|
span(data-trans="menuLeft.emptyCircleProject.notPartOf")
|
|
span ${value}.
|
|
br
|
|
span(data-trans="menuLeft.emptyCircleProject.createNew")
|
|
span
|
|
solid-link(next="${value == 'projet' ? 'admin-projects' : 'admin-circles'}", data-trans="menuLeft.emptyCircleProject.adminPanel")
|
|
|
|
solid-widget(name='hubl-menu-fix-url-contact')
|
|
template
|
|
solid-link(data-src="${value}" next="messages")
|
|
solid-display(
|
|
data-src='${value}'
|
|
fields='name, chatProfile.jabberID, badge'
|
|
value-badge='${value}'
|
|
widget-badge='hubl-counter'
|
|
widget-chatProfile.jabberID='hubl-menu-jabberid'
|
|
widget-name='solid-display-div'
|
|
order-asc='username'
|
|
)
|
|
|
|
solid-widget(name='hubl-menu-fix-url-circle')
|
|
template
|
|
solid-link(data-src="${value}" next="circle")
|
|
solid-display(
|
|
data-src='${value}'
|
|
fields='status, name, jabberID, badge'
|
|
value-badge='${value}'
|
|
widget-status='hubl-menu-publicprivate'
|
|
widget-badge='hubl-counter'
|
|
widget-jabberID='hubl-menu-jabberid'
|
|
widget-name='solid-display-div'
|
|
order-asc="name"
|
|
)
|
|
|
|
solid-widget(name='hubl-menu-fix-url-project')
|
|
template
|
|
solid-link(data-src="${value}" next="project")
|
|
solid-display(
|
|
data-src='${value}'
|
|
fields='status, project(customer.name, name, jabberID), badge'
|
|
class-name='project-name'
|
|
class-customer.name='project-customer'
|
|
value-badge='${value}'
|
|
widget-status='hubl-menu-publicprivate'
|
|
widget-jabberID='hubl-menu-jabberid'
|
|
widget-badge='hubl-counter'
|
|
widget-name='solid-display-div'
|
|
order-asc="customer.name"
|
|
)
|
|
|
|
|
|
solid-router#navbar-router(default-route='dashboard')
|
|
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
|
|
solid-route.menu(name='dashboard')
|
|
div.menu-label(data-trans="menuLeft.dashboard")
|
|
div.menu-icon.icon-home
|
|
div.divider
|
|
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
|
solid-route.menu(name='members')
|
|
div.menu-label(data-trans="menuLeft.profileDirectory")
|
|
div.menu-icon.icon-people
|
|
div.divider
|
|
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
|
solid-route.menu(name='job-offers', rdf-type='hd:joboffer')
|
|
div.menu-label(data-trans="menuLeft.jobBoard")
|
|
div.menu-icon.icon-briefcase
|
|
div.divider
|
|
if endpoints.resources || (endpoints.get && endpoints.get.resources)
|
|
solid-route.menu(name='resources')
|
|
div.menu-label(data-trans="menuLeft.resources")
|
|
div.menu-icon.icon-docs
|
|
div.divider
|
|
if endpoints.polls || (endpoints.get && endpoints.get.polls)
|
|
solid-route.menu(name='polls')
|
|
div.menu-label(data-trans="menuLeft.gov")
|
|
div.menu-icon.icon-bubbles
|
|
div.divider
|
|
if endpoints.events || (endpoints.get && endpoints.get.events)
|
|
solid-route.menu(name='events')
|
|
div.menu-label(data-trans="menuLeft.events")
|
|
div.menu-icon.icon-calendar
|
|
div.divider
|
|
if endpoints.projects || (endpoints.get && endpoints.get.projects)
|
|
div.menu-wrapper
|
|
solid-link
|
|
//- (next='admin-project-list')
|
|
div.menu
|
|
div.menu-chevron
|
|
div.menu-icon.icon-arrow-up
|
|
//- div.menu-icon.icon-arrow-right-circle
|
|
div.menu-label(data-trans="menuLeft.projects")
|
|
div.menu-icon.icon-folder-alt
|
|
solid-route(name='project', rdf-type='hd:project', use-id='', hidden)
|
|
div.sub-menu.menu-notification
|
|
div#loader-projects.loader.loader-menu
|
|
div
|
|
div
|
|
div
|
|
div
|
|
solid-display.project-tab(
|
|
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
|
|
if endpoints.circles || (endpoints.get && endpoints.get.circles)
|
|
div.menu-wrapper
|
|
solid-link
|
|
//- (next='admin-circle-list')
|
|
div.menu
|
|
div.menu-chevron
|
|
div.menu-icon.icon-arrow-up
|
|
//- div.menu-icon.icon-arrow-right-circle
|
|
div.menu-label(data-trans="menuLeft.circles")
|
|
div.menu-icon.icon-folder-alt
|
|
solid-route(name='circle', rdf-type='hd:circle', use-id='', hidden)
|
|
div.sub-menu.menu-notification
|
|
div#loader-circles.loader.loader-menu
|
|
div
|
|
div
|
|
div
|
|
div
|
|
solid-display.circle-tab(
|
|
bind-user
|
|
nested-field='circles'
|
|
fields='circle'
|
|
loader-id='loader-circles'
|
|
empty-widget='hubl-create'
|
|
empty-value=''
|
|
data-trans="empty-value=menuLeft.emptyCircleProject.circle"
|
|
widget-circle='hubl-menu-fix-url-circle'
|
|
order-asc="circle.name"
|
|
)
|
|
div.divider
|
|
div.menu-wrapper
|
|
div.menu
|
|
div.menu-chevron
|
|
div.menu-icon.icon-arrow-up
|
|
div.menu-label(data-trans="menuLeft.messages")
|
|
div.menu-icon.icon-envelope-letter
|
|
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
|
|
solid-display.message-tab(
|
|
bind-user
|
|
nested-field='contacts'
|
|
fields='contact'
|
|
search-fields="contact.name"
|
|
search-label-contact.name=""
|
|
data-trans="search-label-contact.name=menuLeft.search"
|
|
search-widget-contact.name="hubl-search-users"
|
|
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(name='admin', hidden)
|
|
solid-route.menu(name='profile', hidden)
|
|
solid-route(name='about', hidden)
|