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')
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

View File

@ -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')