* @package kanban * @version $Id: viewarchivedcard.html.php 935 2021-12-22 15:44:24Z $ * @link https://www.zentao.net */ ?> loadLang('execution'); $app->loadLang('release'); $app->loadLang('build'); $app->loadLang('productplan'); if($this->config->edition != 'open') $app->loadLang('ticket'); js::set('systemMode', $this->config->systemMode); ?>
kanban->archivedCard;?>

kanbancard->empty;?>

color == '#b10b0b') $color = 'has-color red'; if($card->color == '#cfa227') $color = 'has-color yellow'; if($card->color == '#2a5f29') $color = 'has-color green'; ?> status == 'done' and $card->color != '#2a5f29') $nameColor = 'green-name'; ?> color == '#2a5f29') $labelColor = 'background-color: #FFFFFF; color: #2a5f29'; $finishLabel = $card->status == 'done' ? "
{$lang->kanban->finished}
" : ''; ?>
fromType)):?> " . html::a($this->createLink('kanban', 'viewCard', "cardID=$card->id", '', true), $finishLabel . $card->name, '', "class='iframe' data-toggle='modal' data-width='80%' title='$card->name'") . '
';?>
pri;?> estimate and $card->estimate != 0) echo "{$card->estimate}h";?> name) ? $card->name : $card->title; $title = isset($card->title) ? $card->title : $name; $delayed = ''; if($card->fromType == 'execution' or $card->fromType == 'ticket') { $delayed = (!empty($card->delay) or (!helper::isZeroDate($card->deadline) and helper::now() > $card->deadline)) ? "{$lang->execution->delayed}" : ''; } if(common::hasPriv($card->fromType, 'view') and empty($card->children)) echo "
" . html::a($this->createLink($card->fromType, 'view', "id=$card->fromID"), $name, '', " title='$title'") . "$delayed
"; if(!common::hasPriv($card->fromType, 'view') or !empty($card->children)) echo "
$name
$delayed
"; if($card->fromType == 'productplan' or $card->fromType == 'build') { echo "
$card->desc
"; if(!empty($card->desc)) $class .= ' has-desc'; } echo "
"; if(isset($lang->{$card->fromType}->statusList[$card->objectStatus])) echo "" . $lang->{$card->fromType}->statusList[$card->objectStatus] . ''; if(isset($card->date) and !helper::isZeroDate($card->date)) echo "" . date("Y-m-d", strtotime($card->date)) . "" ?> end) and !helper::isZeroDate($card->begin) and $card->begin != '2030-01-01' and $card->end != '2030-01-01'):?> begin)) . $lang->kanbancard->beginAB;?> begin) and !helper::isZeroDate($card->end) and $card->begin != '2030-01-01' and $card->end != '2030-01-01'):?> end)) . $lang->kanbancard->deadlineAB;?> begin) and !helper::isZeroDate($card->end) and $card->begin != '2030-01-01' and $card->end != '2030-01-01' and $card->fromType == ''):?> begin)) . ' ~ ' . date("m/d", strtotime($card->end));?> begin) and !helper::isZeroDate($card->end) and $card->begin != '2030-01-01' and $card->end != '2030-01-01' and $card->fromType != ''):?> begin)) . ' ' . $lang->{$card->fromType}->to . ' ' . date("m-d", strtotime($card->end));?> fromType == 'ticket' and !helper::isZeroDate($card->deadline) and $card->begin != '2030-01-01' and $card->end != '2030-01-01'):?> deadline)) . ' ' . $lang->kanbancard->deadlineAB;?> begin == '2030-01-01' or $card->end == '2030-01-01') echo '' . $lang->{$card->fromType}->future . ''; if($card->fromType == '') $assignedToList = explode(',', $card->assignedTo); if($card->fromType == 'execution') $assignedToList = $card->PM; if($card->fromType == 'build') $assignedToList = $card->builder; if($card->fromType == 'release' or $card->fromType == 'productplan') $assignedToList = $card->createdBy; if($card->fromType == 'ticket') $assignedToList = $card->assignedTo; $count = 0; $members = ''; ?> $account) { if(!isset($users[$account]) or !isset($usersAvatar[$account])) { unset($assignedToList[$index]); continue; } $members .= $users[$account] . ','; } $userCount = count($assignedToList); ?> 0):?>
2) continue; echo html::smallAvatar(array('avatar' => $usersAvatar[$account], 'account' => $account, 'name' => $users[$account]), 'avatar-circle'); $count ++; $class .= ' has-avatar'; } ?> 2) echo "...";?>
"; echo html::smallAvatar(array('avatar' => $usersAvatar[$assignedToList], 'account' => $assignedToList, 'name' => $users[$assignedToList]), 'avatar-circle'); echo "
"; $class .= ' has-avatar'; } ?>
performable and ($card->fromType == 'execution' or empty($card->fromType))):?>
progress, 2) . ' %';?>
performable) and ($card->fromType == 'execution' or empty($card->fromType))) ? ' has-progress' : ' no-progress';?>
config->CRKanban) and $this->config->CRKanban == '0' and $kanban->status == 'closed'); $canRestore = (commonModel::hasPriv('kanban', 'restoreCard') and $CRKanban); $canDelete = (commonModel::hasPriv('kanban', 'deleteCard') and $CRKanban); if($canRestore) echo html::a(inlink('restoreCard', "cardID={$card->id}"), $lang->kanban->restore, '', "class='btn btn-xs btn-primary' target='hiddenwin'"); if($canDelete) echo html::a($this->createLink('kanban', 'deleteCard', "cardID=$card->id"), $card->fromType == '' ? $lang->delete : $lang->unlink, '', "class='btn btn-xs delete-card' target='hiddenwin'"); ?>