Fix bug#1047 需求关闭之后重新激活状态要重新设置下
This commit is contained in:
@@ -1012,7 +1012,6 @@ class storyModel extends model
|
||||
->add('lastEditedBy', $this->app->user->account)
|
||||
->add('lastEditedDate', $now)
|
||||
->add('assignedDate', $now)
|
||||
->add('status', 'active')
|
||||
->add('closedBy', '')
|
||||
->add('closedReason', '')
|
||||
->add('closedDate', '0000-00-00')
|
||||
|
||||
@@ -24,6 +24,16 @@
|
||||
<th class='w-80px'><?php echo $lang->story->assignedTo;?></th>
|
||||
<td class='w-p45'><?php echo html::select('assignedTo', $users, $story->closedBy, 'class="form-control chosen"');?></td><td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->status;?></th>
|
||||
<td>
|
||||
<?php
|
||||
unset($lang->story->statusList['']);
|
||||
unset($lang->story->statusList['closed']);
|
||||
echo html::select('status', $lang->story->statusList, 'active', 'class="form-control chosen"');
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->comment;?></th>
|
||||
<td colspan='2'><?php echo html::textarea('comment', '', 'rows=5 class="area-1"');?></td>
|
||||
|
||||
Reference in New Issue
Block a user