* Build add delete flag.

This commit is contained in:
tianshujie
2022-01-25 10:39:17 +08:00
parent a8334bed66
commit 8b0bd45bf6
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ $config->kanban->fromType = array('execution', 'productplan', 'release',
$config->kanban->executionField = array('name', 'status', 'end', 'PM', 'type', 'deleted');
$config->kanban->productplanField = array('title', 'status', 'begin', 'end', 'deleted');
$config->kanban->releaseField = array('name', 'status', 'date', 'deleted');
$config->kanban->buildField = array('name', 'date', 'builder');
$config->kanban->buildField = array('name', 'date', 'builder', 'deleted');
$config->kanban->default = new stdclass();
$config->kanban->default->story = new stdclass();
+6
View File
@@ -629,6 +629,12 @@ function renderBuildItem(item, $item)
'</div>'
].join('')).appendTo($item);
var $statusBox = $info.children('.buildStatus');
if(!$statusBox.length && item.deleted == '1')
{
$statusBox = $('<span class="buildStatus label label-deleted">' + productplanLang.deleted + '</span>').appendTo($info);
}
/* Display build date. */
var $date = $info.children('.date');
var buildDate = $.zui.createDate(item.date);