Show us count and wip_limit foreach status column in Kanbanpage

stable
Daniel García 2018-02-28 14:44:09 +01:00
parent 2cd47a578c
commit 03067536d5
2 changed files with 16 additions and 2 deletions

View File

@ -10,7 +10,11 @@ div.kanban-table(
tg-bo-title="s.name",
ng-class='{vfold:folds[s.id]}',
tg-class-permission="{'readonly': '!modify_task'}")
span(tg-bo-bind="s.name")
div.title
div.name(tg-bo-bind="s.name")
div.counter
span(tg-bo-bind="usByStatus.get(s.id.toString()).size")
span(tg-bo-bind="' / ' + s.wip_limit", ng-if="s.wip_limit")
div.options
a.option(
href=""

View File

@ -91,8 +91,18 @@ $column-padding: .5rem 1rem;
&:last-child {
margin-right: 0;
}
span {
.title {
width: 100%;
display: flex;
align-items: flex-end;
.counter {
margin: 0em .5rem;
@include font-size(xsmall);
line-height: 1.6;
}
.name {
@include ellipsis(65%);
}
}
.option {
margin-right: .3rem;