diff --git a/app/coffee/modules/kanban/main.coffee b/app/coffee/modules/kanban/main.coffee index e5d2282b..506a4351 100644 --- a/app/coffee/modules/kanban/main.coffee +++ b/app/coffee/modules/kanban/main.coffee @@ -249,7 +249,8 @@ KanbanUserstoryDirective = ($rootscope) -> return $scope.$apply -> $rootscope.$broadcast("usform:edit", $model.$modelValue) - + if $scope.us.is_blocked + $el.addClass('blocked') $el.disableSelection() return { diff --git a/app/styles/components/kanban-task.scss b/app/styles/components/kanban-task.scss index e3282cca..3e2b479e 100644 --- a/app/styles/components/kanban-task.scss +++ b/app/styles/components/kanban-task.scss @@ -12,6 +12,15 @@ opacity: 1; } } + &.blocked { + background: $red; + border: 1px solid darken($red, 10%); + color: $white; + a, + span { + color: $white; + } + } .kanban-tagline { @include table-flex(); background: $gray-light; //Fallback