* Finish task #64976.

This commit is contained in:
tianshujie
2022-08-18 17:24:06 +08:00
parent dc45d79849
commit 1eccd830ec
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -2229,7 +2229,7 @@ class productModel extends model
{
$link = helper::createLink('testsuite', 'browse', "productID=%s");
}
elseif($module == 'testcase' and ($method == 'groupCase' or $method == 'zeroCase') and $this->app->tab == 'project')
elseif($module == 'testcase' and in_array($method, array('groupCase', 'zeroCase')) and $this->app->tab == 'project')
{
parse_str($extra, $output);
$projectID = isset($output['projectID']) ? $output['projectID'] : 0;
+4 -2
View File
@@ -63,8 +63,10 @@
<?php printf('%03d', $story->id);?>
</td>
<td><span class='label-pri <?php echo 'label-pri-' . $story->pri;?>' title='<?php echo zget($lang->story->priList, $story->pri);?>'><?php echo zget($lang->story->priList, $story->pri)?></span></td>
<td class='text-left' title="<?php echo $story->title?>"><nobr>
<?php echo $canView ? html::a($viewLink, $story->title, '', "data-app='product'") . "</nobr>" : $story->title;?>
<td class='text-left' title="<?php echo $story->title?>">
<nobr>
<?php echo $canView ? html::a($viewLink, $story->title, '', "data-app='product'") : $story->title;?>
</nobr>
</td>
<td title="<?php echo $story->planTitle?>"><?php echo $story->planTitle;?></td>
<td><?php echo $lang->story->sourceList[$story->source];?></td>