http://zentaoms.googlecode.com/svn/trunk/module/my/view/task.html.php@530
Index: task.html.php =================================================================== --- task.html.php (revision 529) +++ task.html.php (revision 530) @@ -25,16 +25,17 @@ <?php include '../../common/header.html.php';?> <?php include '../../common/tablesorter.html.php';?> <div class='yui-d0'> - <table class='table-1 tablesorter fixed' id='tasktable'> + <table class='table-1 tablesorter' id='tasktable'> <thead> <tr class='colhead'> <th><?php echo $lang->task->id;?></th> - <th class='w-p30'><?php echo $lang->task->name;?></th> - <th class='w-p10'><?php echo $lang->task->project;?></th> <th><?php echo $lang->task->pri;?></th> + <th><?php echo $lang->task->name;?></th> + <th><?php echo $lang->task->project;?></th> <th><?php echo $lang->task->estimate;?></th> <th><?php echo $lang->task->consumed;?></th> - <th class='w-p30'><?php echo $lang->task->story;?></th> + <th><?php echo $lang->task->left;?></th> + <th><?php echo $lang->task->deadline;?></th> <th><?php echo $lang->task->status;?></th> <th><?php echo $lang->actions;?></th> </tr> @@ -43,13 +44,14 @@ <?php foreach($tasks as $task):?> <tr class='a-center'> <td><?php echo html::a($this->createLink('task', 'view', "taskID=$task->id"), sprintf('%03d', $task->id));?></td> - <td class='a-left nobr'><?php echo $task->name;?></td> + <td><?php echo $task->pri;?></td> + <td class='a-left nobr'><?php echo html::a($this->createLink('task', 'view', "taskID=$task->id"), $task->name);?></td> <td class='nobr'><?php echo html::a($this->createLink('project', 'browse', "projectid=$task->projectID"), $task->projectName);?></th> - <td><?php echo $task->pri;?></td> <td><?php echo $task->estimate;?></td> <td><?php echo $task->consumed;?></td> - <td class='a-left nobr'><?php if($task->storyID) echo html::a($this->createLink('story', 'view', "storyID=$task->storyID"), $task->storyTitle);?></td> - <td class='<?php echo $task->status;?>'><?php echo $lang->task->statusList->{$task->status};?></td> + <td><?php echo $task->left;?></td> + <td class=<?php if(isset($task->delay)) echo 'delayed';?>><?php if(substr($task->deadline, 0, 4) > 0) echo $task->deadline;?></td> + <td class='<?php echo $task->status;?>'><?php echo $lang->task->statusList[$task->status];?></td> <td><?php echo html::a($this->createLink('task', 'edit', "taskID=$task->id"), $lang->task->edit, '_blank');?></td> </tr> <?php endforeach;?>