Fix bug#1047 需求关闭之后重新激活状态要重新设置下

This commit is contained in:
wangyidong
2017-04-21 15:52:38 +08:00
parent 01163fe166
commit 24fdb413be
2 changed files with 10 additions and 1 deletions
-1
View File
@@ -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')
+10
View File
@@ -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>