Added number of list items for status tabs
This commit is contained in:
@ -1,4 +1,10 @@
|
||||
component Tab(label string, icon string, url string)
|
||||
a.tab.action(href=url, data-action="diff", data-trigger="click", aria-label=label, dropzone="move")
|
||||
Icon(icon)
|
||||
span.tab-text= label
|
||||
span.tab-text= label
|
||||
|
||||
component TabWithCount(label string, count int, icon string, url string)
|
||||
a.tab.action(href=url, data-action="diff", data-trigger="click", aria-label=label, dropzone="move")
|
||||
Icon(icon)
|
||||
span.tab-text= label
|
||||
span.tab-count= count
|
Reference in New Issue
Block a user