diff --git a/src/menu-left.pug b/src/menu-left.pug index ce61105..8885263 100644 --- a/src/menu-left.pug +++ b/src/menu-left.pug @@ -1,6 +1,6 @@ sib-widget(name='hd-counter') template - sib-badge(data-src="${value['@id']}") + sib-badge(data-src="${src}") sib-widget(name='hd-create') template @@ -29,16 +29,20 @@ nav#main__menu sib-route(name='project', rdf-type='hd:project', use-id='', hidden) div.sub-menu.menu-notification sib-display.project-tab( - bind-user - nested-field='projects' - fields='line(project.customer.name, dash, project.name), project' - class-project.customer.name='project-customer' - class-project.name='project-name' + data-src=`${endpoints.projects}` + fields='project(customer.name, name), badge' + class-customer.name='project-customer' + class-name='project-name' empty-widget='hd-create' empty-value='project' - value-dash=' - ' - widget-project='hd-counter' - order-by='project.customer.name' + search-fields='team' + search-widget-team='sib-form-hidden' + search-value-team='-' + hd-inherit-user-id='search-value-team' + hd-inherit-widgets + widget-badge='hd-counter' + action-badge='badge' + order-by='customer.name' next='project' ) div.divider @@ -52,14 +56,19 @@ nav#main__menu 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.name, circle' + data-src=`${endpoints.circles}` + fields='name, badge' empty-widget='hd-create' empty-value='circle' - widget-circle.name='sib-display-div', - widget-circle='hd-counter' - order-by='circle.name' + widget-name='sib-display-div', + widget-badge='hd-counter' + action-badge='badge' + search-fields='team' + search-widget-team='sib-form-hidden' + search-value-team='-' + hd-inherit-user-id='search-value-team' + hd-inherit-widgets + order-by='name' next='circle' ) div.divider diff --git a/src/page-project.pug b/src/page-project.pug index 09f7688..00ec69a 100644 --- a/src/page-project.pug +++ b/src/page-project.pug @@ -36,7 +36,4 @@ nav.jsRightMenu(role='navigation') sib-route(name='project-information') li a Information - sib-route(name='project-drive', use-id) - li - a Drive sib-route(name='project-contributions-help') \ No newline at end of file