* code for task #65286.

This commit is contained in:
wangyidong
2022-08-23 17:26:04 +08:00
parent 05d5d0054d
commit fcc537bacc
8 changed files with 33 additions and 15 deletions
+3 -1
View File
@@ -32,7 +32,9 @@
</tr>
<tr>
<th><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', $estimate->left, 'class="form-control"');?></td>
<?php $readonly = $estimate->isLast ? '' : 'readonly';?>
<?php if(!empty($task->team) and $estimate->left == 0) $readonly = 'readonly';?>
<td><?php echo html::input('left', $estimate->left, "class='form-control' {$readonly}");?></td>
</tr>
<tr>
<th><?php echo $lang->comment;?></th>