Kanban blocked tasks visual color

stable
Xavier Julián 2014-09-05 15:14:51 +02:00
parent 7f871eeab3
commit 5ec1925057
2 changed files with 11 additions and 1 deletions

View File

@ -249,7 +249,8 @@ KanbanUserstoryDirective = ($rootscope) ->
return return
$scope.$apply -> $scope.$apply ->
$rootscope.$broadcast("usform:edit", $model.$modelValue) $rootscope.$broadcast("usform:edit", $model.$modelValue)
if $scope.us.is_blocked
$el.addClass('blocked')
$el.disableSelection() $el.disableSelection()
return { return {

View File

@ -12,6 +12,15 @@
opacity: 1; opacity: 1;
} }
} }
&.blocked {
background: $red;
border: 1px solid darken($red, 10%);
color: $white;
a,
span {
color: $white;
}
}
.kanban-tagline { .kanban-tagline {
@include table-flex(); @include table-flex();
background: $gray-light; //Fallback background: $gray-light; //Fallback