remove unnecessary watchers

stable
Juanfran 2014-07-29 10:42:21 +02:00
parent 5b2c6284fa
commit d98c7f2b74
3 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
div.row.us-item-row(ng-repeat="us in visibleUserstories|orderBy:order track by us.id", tg-draggable) div.row.us-item-row(ng-repeat="us in visibleUserstories|orderBy:order track by us.id", tg-draggable)
div.user-stories div.user-stories
div.user-story-tags(ng-show="ctrl.showTags") div.user-story-tags
span.tag(ng-repeat="tag in us.tags") {{ tag }} span.tag(ng-repeat="tag in us.tags") {{ tag }}
div.user-story-name div.user-story-name
input(type="checkbox", name="") input(type="checkbox", name="")

View File

@ -6,5 +6,5 @@ section.backlog-table-header
span.header-points Points span.header-points Points
span.icon.icon-arrow-bottom span.icon.icon-arrow-bottom
section.backlog-table-body(tg-backlog-sortable) section.backlog-table-body(tg-backlog-sortable, ng-class="{'show-tags': ctrl.showTags}")
include ../components/backlog-row include ../components/backlog-row

View File

@ -2,6 +2,11 @@
.backlog-table-body { .backlog-table-body {
@include table-flex(); @include table-flex();
width: 100%; width: 100%;
&.show-tags {
.user-story-tags {
display: block;
}
}
.row { .row {
@include table-flex(); @include table-flex();
@extend %small; @extend %small;
@ -127,6 +132,7 @@
} }
} }
.user-story-tags { .user-story-tags {
display: none;
margin-top: .3rem; margin-top: .3rem;
.tag { .tag {
margin-right: .1rem; margin-right: .1rem;