* Compute hours for multiple tasks.
This commit is contained in:
@@ -136,7 +136,10 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->task->estimate;?></th>
|
||||
<td><?php echo html::input('estimate', $task->estimate, "class='form-control' autocomplete='off'");?></td>
|
||||
<td>
|
||||
<?php $disabled = !empty($task->team) ? "disabled='disabled'" : '';?>
|
||||
<?php echo html::input('estimate', $task->estimate, "class='form-control' autocomplete='off' {$disabled}");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->task->consumed;?></th>
|
||||
@@ -144,7 +147,10 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->task->left;?></th>
|
||||
<td><?php echo html::input('left', $task->left, "class='form-control' autocomplete='off'");?></td>
|
||||
<td>
|
||||
<?php $disabled = !empty($task->team) ? "disabled='disabled'" : '';?>
|
||||
<?php echo html::input('left', $task->left, "class='form-control' autocomplete='off' {$disabled}");?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user