* code for task #2576: add color tag for story, task, bug, case in block and my module.

This commit is contained in:
chenfeiCF
2016-04-22 13:25:16 +08:00
parent b820895a55
commit 4f6744ec47
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ td.delayed{background: #e84e0f!important; color: white;}
<tr data-url='<?php echo empty($sso) ? $viewLink : $sso . $sign . 'referer=' . base64_encode($viewLink); ?>' <?php echo $appid?>>
<td><?php echo $task->id;?></td>
<td><?php echo zget($lang->task->priList, $task->pri, $task->pri)?></td>
<td title='<?php echo $task->name?>'><?php echo $task->name?></td>
<td style='color: <?php echo $task->color?>' title='<?php echo $task->name?>'><?php echo $task->name?></td>
<td><?php echo $task->estimate?></td>
<td class='<?php if(isset($task->delay)) echo 'delayed';?>'><?php if(substr($task->deadline, 0, 4) > 0) echo $task->deadline;?></td>
<td ><?php echo zget($lang->task->statusList, $task->status, $task->status);?></th>