color == '#b10b0b') $color = 'has-color red';
if($card->color == '#cfa227') $color = 'has-color yellow';
@@ -98,7 +104,11 @@ js::set('systemMode', $this->config->systemMode);
$name = isset($card->title) ? $card->title : $card->name;
if(common::hasPriv($card->fromType, 'view')) echo html::a($this->createLink($card->fromType, 'view', "id=$card->fromID"), $name, '', "class='cardName' title='$name'");
if(!common::hasPriv($card->fromType, 'view')) echo "
$name
";
- if($card->fromType == 'productplan' or $card->fromType == 'build') echo "
$card->desc
";
+ 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)) . ""
@@ -147,6 +157,7 @@ js::set('systemMode', $this->config->systemMode);
if($count > 2) continue;
echo html::smallAvatar(array('avatar' => $usersAvatar[$account], 'account' => $account, 'name' => $users[$account]), 'avatar-circle');
$count ++;
+ $class .= ' has-avatar';
}
?>
2) echo "
...";?>
@@ -159,11 +170,12 @@ js::set('systemMode', $this->config->systemMode);
echo "
";
echo html::smallAvatar(array('avatar' => $usersAvatar[$assignedToList], 'account' => $assignedToList, 'name' => $users[$assignedToList]), 'avatar-circle');
echo "
";
+ $class .= ' has-avatar';
}
?>
- performable):?>
+ performable and ($card->fromType == 'execution' or empty($card->fromType))):?>
@@ -173,7 +185,8 @@ js::set('systemMode', $this->config->systemMode);
-
performable) echo "id='performable'";?>>
+ 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);