diff --git a/module/project/view/task.html.php b/module/project/view/task.html.php index b2c4626ea1..0949748ca4 100644 --- a/module/project/view/task.html.php +++ b/module/project/view/task.html.php @@ -68,17 +68,11 @@ var browseType = ''; - assignedTo == $app->user->account ? 'style=color:red' : ''; ?> - - id", sprintf('%03d', $task->id))) printf('%03d', $task->id);?> task->priList[$task->pri]?>'>task->priList[$task->pri];?> @@ -122,20 +116,20 @@ var browseType = ''; } ?> - project&taskID=$task->id", $task, 'list', '', '', 'iframe', true); - common::printIcon('task', 'start', "taskID=$task->id", $task, 'list', '', '', 'iframe', true); + project&taskID=$task->id", $task, 'list', '', '', 'iframe', true); + common::printIcon('task', 'start', "taskID=$task->id", $task, 'list', '', '', 'iframe', true); - common::printIcon('task', 'recordEstimate', "taskID=$task->id", $task, 'list', '', '', 'iframe', true); - if($browseType == 'needconfirm') - { - $lang->task->confirmStoryChange = $lang->confirm; - common::printIcon('task', 'confirmStoryChange', "taskid=$task->id", '', 'list', '', 'hiddenwin'); - } - common::printIcon('task', 'finish', "taskID=$task->id", $task, 'list', '', '', 'iframe', true); - common::printIcon('task', 'close', "taskID=$task->id", $task, 'list', '', '', 'iframe', true); - common::printIcon('task', 'edit',"taskID=$task->id", '', 'list'); - ?> + common::printIcon('task', 'recordEstimate', "taskID=$task->id", $task, 'list', '', '', 'iframe', true); + if($browseType == 'needconfirm') + { + $lang->task->confirmStoryChange = $lang->confirm; + common::printIcon('task', 'confirmStoryChange', "taskid=$task->id", '', 'list', '', 'hiddenwin'); + } + common::printIcon('task', 'finish', "taskID=$task->id", $task, 'list', '', '', 'iframe', true); + common::printIcon('task', 'close', "taskID=$task->id", $task, 'list', '', '', 'iframe', true); + common::printIcon('task', 'edit',"taskID=$task->id", '', 'list'); + ?> @@ -148,18 +142,19 @@ var browseType = ''; createLink('task', 'batchEdit', "projectID=$projectID"); - echo html::commonButton($lang->edit, "onclick=\"changeAction('projectTaskForm', 'batchEdit', '$actionLink')\""); - } - if($canBatchClose) - { - $actionLink = $this->createLink('task', 'batchClose'); - echo html::commonButton($lang->close, "onclick=\"changeAction('projectTaskForm', 'batchClose', '$actionLink')\""); - } + echo "
"; + echo html::selectAll() . html::selectReverse(); + echo "
"; + + $actionLink = $this->createLink('task', 'batchEdit', "projectID=$projectID"); + $misc = $canBatchEdit ? "onclick=changeAction('$actionLink')" : "disabled='disabled'"; + echo "
"; + echo html::commonButton($lang->edit, "onclick=\"changeAction('projectTaskForm', 'batchEdit', '$actionLink')\" $misc"); + echo ""; + echo "
"; } echo $summary; ?> @@ -173,6 +168,17 @@ var browseType = ''; + + +