diff --git a/module/project/css/kanban.css b/module/project/css/kanban.css index d8af55f394..5839875868 100644 --- a/module/project/css/kanban.css +++ b/module/project/css/kanban.css @@ -99,4 +99,5 @@ table th.col-closed {width:15%} #kanbanHeader.affix .actions .btn {background: #114f8e; color: #f1f1f1;} #kanbanHeader.affix th {border-color: rgba(255,255,255,.2)} -.label-delay {background-color: #e84e0f; margin-bottom: 2px;} +.label-delay-doing {background-color: #000; margin-bottom: 2px;} +.label-delay-wait {background-color: #d2322d; margin-bottom: 2px;} diff --git a/module/project/view/kanban.html.php b/module/project/view/kanban.html.php index 7fa3daed2e..90c02ea77b 100644 --- a/module/project/view/kanban.html.php +++ b/module/project/view/kanban.html.php @@ -95,8 +95,14 @@ tasks[$col] as $task):?>
' data-id='id?>' id='task-id?>'>
- delay)) echo "{$lang->project->delayed}";?> - createLink('task', 'view', "taskID=$task->id", '', true), $task->name, '', 'class="kanbanFrame" title="' . $task->name . '"');?> + delay)) + { + $labelClass = $task->status == 'doing' ? 'label-delay-doing' : 'label-delay-wait'; + echo "{$lang->task->delayed}"; + } + echo html::a($this->createLink('task', 'view', "taskID=$task->id", '', true), $task->name, '', 'class="kanbanFrame" title="' . $task->name . '"'); + ?>