* Fix delay bug.
This commit is contained in:
@@ -605,6 +605,7 @@ function renderCount($count, count, column)
|
||||
function renderHeaderCol($column, column, $header, kanbanData)
|
||||
{
|
||||
if(groupBy != 'default') return;
|
||||
|
||||
/* Render group header. */
|
||||
var privs = kanbanData.actions;
|
||||
var columnPrivs = kanbanData.columns[0].actions;
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<div class='panel' data-url='<?php echo $this->createLink('execution', 'kanban', "kanbanID=$kanbanID");?>'>
|
||||
<div class='panel-heading'>
|
||||
<div class='kanban-name'>
|
||||
<?php if(!helper::isZeroDate($kanban->end) && $kanban->end < helper::today()):?>
|
||||
<?php if($kanban->end < helper::today() and $kanban->status != 'done' and $kanban->status != 'closed' and $kanban->status != 'suspended'):?>
|
||||
<span class="label label-doing"><?php echo $lang->project->statusList['delay'];?></span>
|
||||
<?php else:?>
|
||||
<span class="label label-<?php echo $kanban->status;?>"><?php echo zget($lang->execution->statusList, $kanban->status);?></span>
|
||||
|
||||
Reference in New Issue
Block a user