fix: cancel src to user container for project and circles

This commit is contained in:
Jean-Baptiste Pasquier 2020-01-03 14:08:06 +01:00
parent d0d5cd6403
commit c493764d4d
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
2 changed files with 24 additions and 18 deletions

View File

@ -1,6 +1,6 @@
sib-widget(name='hd-counter') sib-widget(name='hd-counter')
template template
sib-badge(data-src="${value['@id']}") sib-badge(data-src="${src}")
sib-widget(name='hd-create') sib-widget(name='hd-create')
template template
@ -29,16 +29,20 @@ nav#main__menu
sib-route(name='project', rdf-type='hd:project', use-id='', hidden) sib-route(name='project', rdf-type='hd:project', use-id='', hidden)
div.sub-menu.menu-notification div.sub-menu.menu-notification
sib-display.project-tab( sib-display.project-tab(
bind-user data-src=`${endpoints.projects}`
nested-field='projects' fields='project(customer.name, name), badge'
fields='line(project.customer.name, dash, project.name), project' class-customer.name='project-customer'
class-project.customer.name='project-customer' class-name='project-name'
class-project.name='project-name'
empty-widget='hd-create' empty-widget='hd-create'
empty-value='project' empty-value='project'
value-dash=' - ' search-fields='team'
widget-project='hd-counter' search-widget-team='sib-form-hidden'
order-by='project.customer.name' 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' next='project'
) )
div.divider div.divider
@ -52,14 +56,19 @@ nav#main__menu
sib-route(name='circle', rdf-type='hd:circle', use-id='', hidden) sib-route(name='circle', rdf-type='hd:circle', use-id='', hidden)
div.sub-menu.menu-notification div.sub-menu.menu-notification
sib-display( sib-display(
bind-user data-src=`${endpoints.circles}`
nested-field='circles' fields='name, badge'
fields='circle.name, circle'
empty-widget='hd-create' empty-widget='hd-create'
empty-value='circle' empty-value='circle'
widget-circle.name='sib-display-div', widget-name='sib-display-div',
widget-circle='hd-counter' widget-badge='hd-counter'
order-by='circle.name' 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' next='circle'
) )
div.divider div.divider

View File

@ -36,7 +36,4 @@ nav.jsRightMenu(role='navigation')
sib-route(name='project-information') sib-route(name='project-information')
li li
a Information a Information
sib-route(name='project-drive', use-id)
li
a Drive
sib-route(name='project-contributions-help') sib-route(name='project-contributions-help')