Kanban blocked tasks visual color
parent
7f871eeab3
commit
5ec1925057
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue