fix: css badge

This commit is contained in:
Jean-Baptiste Pasquier 2019-06-25 10:25:43 +02:00
parent a4b2e8d593
commit 2ce14a72eb
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
2 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
sib-widget(name='hd-counter')
template
sib-badge(data-src="${id}")
sib-badge(data-src="${src}")
nav#main__menu
sib-router#navbar-router(default-route='members')
sib-route.menu(name='members')
@ -23,9 +23,11 @@ nav#main__menu
div.sub-menu.menu-notification
sib-display(
data-src=`${endpoints.projects}`
data-fields='project'
data-fields='project, badge'
set-project='customer.name, dash, name'
value-dash=' - '
widget-badge='hd-counter'
action-badge='badge'
next='project'
)
//- div.divider
@ -54,9 +56,10 @@ nav#main__menu
div.sub-menu.menu-notification
sib-display(
data-src=`${endpoints.users}`
data-fields='username, account.user'
data-fields='username, badge'
widget-username='sib-display-div'
widget-account.user='hd-counter'
widget-badge='hd-counter'
action-badge='badge'
next='messages'
)

View File

@ -107,6 +107,7 @@
div[name='project'] {
display: flex;
flex: 3;
sib-display-value {
display: block;