* adjust code

This commit is contained in:
chujilu
2014-08-12 15:49:32 +08:00
parent e4efa79e57
commit 46f9884495
3 changed files with 3 additions and 2 deletions

View File

@@ -157,6 +157,7 @@ class story extends control
$this->view->source = $source;
$this->view->pri = $pri;
$this->view->productID = $productID;
$this->view->projectID = $projectID;
$this->view->estimate = $estimate;
$this->view->storyTitle = $title;
$this->view->spec = $spec;

View File

@@ -93,7 +93,7 @@
<tr>
<th><?php echo $lang->story->reviewedBy;?></th>
<td><?php echo html::select('assignedTo', $users, '', "class='form-control chosen'");?></td>
<td><?php echo html::checkbox('needNotReview', $lang->story->needNotReview, '', "id='needNotReview'");?></td>
<td><?php echo html::checkbox('needNotReview', $lang->story->needNotReview, '', "id='needNotReview'" . ($projectID > 0 ? " checked='checked'" : ""));?></td>
</tr>
<tr>
<th><nobr><?php echo $lang->story->mailto;?></nobr></th>

View File

@@ -24,7 +24,7 @@ $jsRoot = $webRoot . "js/";
<strong><small class='text-muted'><?php echo html::icon($lang->icons['edit']);?></small> <?php echo $lang->tree->edit;?></strong>
</div>
</div>
<form class='form-condensed' method='post' class='mt-10px' id='dataform'>
<form action="<?php echo inlink('edit', 'module=' . $module->id .'&type=' .$type);?>" class='form-condensed' method='post' class='mt-10px' id='dataform'>
<table class='table table-form'>
<?php $hidden = ($type != 'story' and $module->type == 'story');?>
<tr <?php if($hidden) echo "style='display:none'";?>>