feature: left-menu display a message when no circle existing
This commit is contained in:
parent
05eec9cfed
commit
bd7d3977d5
@ -1,6 +1,11 @@
|
|||||||
sib-widget(name='hd-counter')
|
sib-widget(name='hd-counter')
|
||||||
template
|
template
|
||||||
sib-badge(data-src="${src}")
|
sib-badge(data-src="${src}")
|
||||||
|
|
||||||
|
sib-widget(name='hd-create')
|
||||||
|
template
|
||||||
|
p.create You are not part of any ${value} yet. To create a new one, you can go to the administration panel (coming soon).
|
||||||
|
|
||||||
nav#main__menu
|
nav#main__menu
|
||||||
sib-router#navbar-router(default-route='members')
|
sib-router#navbar-router(default-route='members')
|
||||||
//- sib-route.menu(name='members')
|
//- sib-route.menu(name='members')
|
||||||
@ -24,12 +29,13 @@ nav#main__menu
|
|||||||
//- sib-display(
|
//- sib-display(
|
||||||
//- data-src=`${endpoints.projects}`
|
//- data-src=`${endpoints.projects}`
|
||||||
//- fields='project(customer.name, dash, name), badge'
|
//- fields='project(customer.name, dash, name), badge'
|
||||||
|
//- empty-widget='hd-create'
|
||||||
|
//- empty-value='project'
|
||||||
//- value-dash=' - '
|
//- value-dash=' - '
|
||||||
//- widget-badge='hd-counter'
|
//- widget-badge='hd-counter'
|
||||||
//- action-badge='badge'
|
//- action-badge='badge'
|
||||||
//- next='project'
|
|
||||||
//- )
|
//- )
|
||||||
//- div.divider
|
div.divider
|
||||||
div.menu-wrapper
|
div.menu-wrapper
|
||||||
div.menu
|
div.menu
|
||||||
div.menu-chevron
|
div.menu-chevron
|
||||||
@ -41,6 +47,8 @@ nav#main__menu
|
|||||||
sib-display(
|
sib-display(
|
||||||
data-src=`${endpoints.circles}`
|
data-src=`${endpoints.circles}`
|
||||||
fields='name, badge'
|
fields='name, badge'
|
||||||
|
empty-widget='hd-create'
|
||||||
|
empty-value='circle'
|
||||||
widget-name='sib-display-div',
|
widget-name='sib-display-div',
|
||||||
widget-badge='hd-counter'
|
widget-badge='hd-counter'
|
||||||
action-badge='badge'
|
action-badge='badge'
|
||||||
|
@ -92,6 +92,11 @@
|
|||||||
.sub-menu {
|
.sub-menu {
|
||||||
|
|
||||||
sib-display>div {
|
sib-display>div {
|
||||||
|
|
||||||
|
.create {
|
||||||
|
color: $color-244-10-70;
|
||||||
|
margin: 1rem 1rem 2.2rem 3.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
&>sib-display {
|
&>sib-display {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user