This commit is contained in:
tianshujie98
2020-08-13 09:35:22 +08:00
parent ff920c7d2d
commit f3c3ad3647
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -182,7 +182,7 @@
<tr>
<th><?php echo $lang->task->estimate;?></th>
<td>
<?php $disabled = !empty($task->team) ? "disabled='disabled'" : '';?>
<?php $disabled = (!empty($task->team) or $task->parent < 0) ? "disabled='disabled'" : '';?>
<?php echo html::input('estimate', $task->estimate, "class='form-control' {$disabled}");?>
</td>
</tr>
@@ -193,7 +193,7 @@
<tr>
<th><?php echo $lang->task->left;?></th>
<td>
<?php $disabled = !empty($task->team) ? "disabled='disabled'" : '';?>
<?php $disabled = (!empty($task->team) or $task->parent < 0) ? "disabled='disabled'" : '';?>
<?php echo html::input('left', $task->left, "class='form-control' {$disabled}");?>
</td>
</tr>