* finish task #924.

This commit is contained in:
wangyidong
2012-11-21 03:23:51 +00:00
parent e74d0a9825
commit fa743d05d4
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -35,7 +35,7 @@
<th class='w-hour {sorter:false}'> <?php common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);?></th>
<th class='w-status {sorter:false}'> <?php common::printOrderLink('stage', $orderBy, $vars, $lang->story->stageAB);?></th>
<th class='w-50px'> <?php echo $lang->story->taskCount;?></th>
<th class='w-100px {sorter:false}'> <?php echo $lang->actions;?></th>
<th class='w-150px {sorter:false}'> <?php echo $lang->actions;?></th>
</tr>
</thead>
<tbody>
@@ -67,6 +67,7 @@
<?php
$param = "projectID={$project->id}&story={$story->id}";
common::printLink('task', 'create', $param, $lang->project->wbs);
common::printLink('task', 'batchCreate', $param, $lang->task->batchCreate);
common::printLink('project', 'unlinkStory', $param, $lang->unlink, 'hiddenwin');
?>
</td>
+1 -1
View File
@@ -27,7 +27,7 @@
<th class='w-50px'><?php echo $lang->task->pri;?></th>
</tr>
<?php for($i = 0; $i < $config->task->batchCreate; $i++):?>
<?php $story = $i == 0 ? '' : 'ditto';?>
<?php $story = ($i == 0 and $storyID != 0) ? $storyID : 'ditto';?>
<?php
$lang->task->typeList['ditto'] = $lang->task->ditto; $type = $i == 0 ? '' : 'ditto';
$members['ditto'] = $lang->task->ditto; $member = $i == 0 ? '' : 'ditto';