* Fix Bug#1386
This commit is contained in:
@@ -31,7 +31,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 class='text-center'><?php echo $task->id;?></td>
|
||||
<td class='text-center'><?php echo zget(array_keys($lang->task->priList), $task->pri, $task->pri)?></td>
|
||||
<td class='text-center'><?php echo zget($lang->task->priList, $task->pri, $task->pri)?></td>
|
||||
<td style='color: <?php echo $task->color?>' title='<?php echo $task->name?>'><?php echo $task->name?></td>
|
||||
<td class='text-center'><?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>
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
$groupWait = 0;
|
||||
$groupDone = 0;
|
||||
$groupDoing = 0;
|
||||
$groupClosed = 0;
|
||||
$groupClosed = 0;
|
||||
$groupEstimate = 0.0;
|
||||
$groupConsumed = 0.0;
|
||||
$groupLeft = 0.0;
|
||||
@@ -113,7 +113,7 @@
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<td><?php echo $task->id;?></td>
|
||||
<td><span class='<?php echo 'pri' . zget(array_keys($lang->task->priList), $task->pri, $task->pri)?>'><?php echo zget(array_keys($lang->task->priList), $task->pri, $task->pri);?></span></td>
|
||||
<td><span class='<?php echo 'pri' . zget($lang->task->priList, $task->pri, $task->pri)?>'><?php echo zget($lang->task->priList, $task->pri, $task->pri);?></span></td>
|
||||
<td class='text-left'>
|
||||
<?php
|
||||
if(!empty($task->team)) echo '<span class="label">' . $lang->task->multipleAB . '</span> ';
|
||||
|
||||
@@ -672,6 +672,7 @@ class taskModel extends model
|
||||
$task->status = 'done';
|
||||
$task->finishedBy = $oldTask->openedBy; // Fix bug#1341
|
||||
$task->finishedDate = helper::now();
|
||||
$task->assignedTo = $oldTask->openedBy; // Fix bug#1341
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -741,7 +742,7 @@ class taskModel extends model
|
||||
*
|
||||
* @param int $taskID
|
||||
* @access public
|
||||
* @return void
|
||||
* @return array
|
||||
*/
|
||||
public function recordEstimate($taskID)
|
||||
{
|
||||
@@ -2264,8 +2265,8 @@ class taskModel extends model
|
||||
|
||||
/**
|
||||
* Get mail subject.
|
||||
*
|
||||
* @param object $task
|
||||
*
|
||||
* @param object $task
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
@@ -2277,8 +2278,8 @@ class taskModel extends model
|
||||
|
||||
/**
|
||||
* Get toList and ccList.
|
||||
*
|
||||
* @param object $task
|
||||
*
|
||||
* @param object $task
|
||||
* @access public
|
||||
* @return bool|array
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user