This commit is contained in:
@@ -23,16 +23,16 @@
|
||||
<?php echo html::select('fromproject', $projects, $fromProject, "onchange='reload($projectID, this.value)' class='form-control chosen'");?>
|
||||
<span class='input-group-btn'>
|
||||
<?php
|
||||
$toggleClass = $containDoing ? 'icon-toggle-on' : 'icon-toggle-off';
|
||||
$toggleClass = $containDoing ? 'icon-checked' : 'icon-check-empty';
|
||||
$params = $containDoing ? "toProject=$projectID&fromProject=$fromProject" : "toProject=$projectID&fromProject=$fromProject&containDoing=true";
|
||||
echo html::a($this->createLink('project', 'importTask', $params), "<i class={$toggleClass}></i>" . $lang->project->containDoing, '', "class='btn'");
|
||||
echo html::a($this->createLink('project', 'importTask', $params), "<i class={$toggleClass}></i> " . $lang->project->containDoing, '', "class='btn'");
|
||||
?>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<form class='form-condensed' method='post' target='hiddenwin' id='importTaskForm'>
|
||||
<table class='table tablesorter table-fixed'>
|
||||
<table class='table tablesorter table-fixed table-selectable'>
|
||||
<thead>
|
||||
<tr class='colhead'>
|
||||
<th class='w-id'><?php echo $lang->idAB;?></th>
|
||||
@@ -50,12 +50,10 @@
|
||||
<?php foreach($tasks2Imported as $task):?>
|
||||
<?php $class = $task->assignedTo == $app->user->account ? 'style=color:red' : '';?>
|
||||
<tr class='text-center'>
|
||||
|
||||
<td>
|
||||
<input type='checkbox' name='tasks[]' value='<?php echo $task->id;?>' />
|
||||
<?php if(!common::printLink('task', 'view', "task=$task->id", sprintf('%03d', $task->id))) printf('%03d', $task->id);?>
|
||||
<td class='cell-id'>
|
||||
<input type='checkbox' name='tasks[]' value='<?php echo $task->id;?>' />
|
||||
<?php if(!common::printLink('task', 'view', "task=$task->id", sprintf('%03d', $task->id))) printf('%03d', $task->id);?>
|
||||
</td>
|
||||
|
||||
<td><?php echo substr($projects[$task->project], 2);?></td>
|
||||
<td><span class='<?php echo 'pri' . zget($lang->task->priList, $task->pri, $task->pri)?>'><?php echo $task->pri == '0' ? '' : zget($lang->task->priList, $task->pri, $task->pri);?></span></td>
|
||||
<td class='text-left nobr'><?php if(!common::printLink('task', 'view', "task=$task->id", $task->name)) echo $task->name;?></td>
|
||||
|
||||
Reference in New Issue
Block a user