* Compute hours for multiple tasks.

This commit is contained in:
daitingting
2018-04-04 14:38:57 +08:00
parent f4b783f0ca
commit 321005e8ad
8 changed files with 232 additions and 213 deletions
+8 -2
View File
@@ -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>