* Add required to workflow field.

This commit is contained in:
孙广明
2022-04-20 13:08:20 +08:00
parent 313e39712c
commit e4738c50ea
3 changed files with 15 additions and 3 deletions
+5 -1
View File
@@ -69,7 +69,11 @@
<th class='c-keywords<?php echo zget($visibleFields, 'keywords', ' hidden') . zget($requiredFields, 'keywords', '', ' required');?>'><?php echo $lang->bug->keywords;?></th>
<?php
$extendFields = $this->bug->getFlowExtendFields();
foreach($extendFields as $extendField) echo "<th class='c-extend'>{$extendField->name}</th>";
foreach($extendFields as $extendField)
{
$required = $extendField->rules == 1 ? 'required' : '';
echo "<th class='c-extend $required'>{$extendField->name}</th>";
}
?>
</tr>
</thead>