Added number of list items for status tabs

This commit is contained in:
2019-10-26 18:06:14 +09:00
parent af63870850
commit 384f966524
6 changed files with 35 additions and 42 deletions

View File

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