Skip to content

Commit

Permalink
* Fix bug #47755.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghucheng committed Apr 12, 2024
1 parent 5e84d49 commit 8d862f6
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions module/story/view/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,21 @@
<td><?php echo $this->processStatus('story', $child);?></td>
<td class='c-actions'>
<?php
common::printIcon('story', 'change', "storyID=$child->id&from=&storyType=$child->type", $child, 'list', 'alter');
common::printIcon('story', 'review', "storyID=$child->id&from=product&storyType=$child->type", $child, 'list', 'search', '', 'iframe showinonlybody', true);
common::printIcon('story', 'assignTo', "storyID=$child->id&kanbanGroup=default&from=&storyType=$child->type", $child, 'list', '', '', 'iframe showinonlybody', true);
common::printIcon('story', 'close', "storyID=$child->id&from=&storyType=$child->type", $child, 'list', '', '', 'iframe showinonlybody', true);
common::printIcon('story', 'activate', "storyID=$child->id&storyType=$child->type", $child, 'list', '', '', 'iframe showinonlybody', true);
common::printIcon('story', 'edit', "storyID=$child->id&kanbanGroup=default&storyType=$child->type", $child, 'list');
common::printIcon('testcase', 'create', "productID=$child->product&branch=$child->branch&module=0&from=&param=0&story={$child->id}", $child, 'list', 'sitemap', '', 'iframe showinonlybody', true);
if(!empty($child->confirmeObject))
{
$method = $child->confirmeObject['type'] == 'confirmedretract' ? 'confirmDemandRetract' : 'confirmDemandUnlink';
common::printIcon('story', $method, "objectID=$child->id&object=story&extra={$child->confirmeObject['id']}", $child, 'list', 'search', '', 'iframe', true);;
}
else
{
common::printIcon('story', 'change', "storyID=$child->id&from=&storyType=$child->type", $child, 'list', 'alter');
common::printIcon('story', 'review', "storyID=$child->id&from=product&storyType=$child->type", $child, 'list', 'search', '', 'iframe showinonlybody', true);
common::printIcon('story', 'assignTo', "storyID=$child->id&kanbanGroup=default&from=&storyType=$child->type", $child, 'list', '', '', 'iframe showinonlybody', true);
common::printIcon('story', 'close', "storyID=$child->id&from=&storyType=$child->type", $child, 'list', '', '', 'iframe showinonlybody', true);
common::printIcon('story', 'activate', "storyID=$child->id&storyType=$child->type", $child, 'list', '', '', 'iframe showinonlybody', true);
common::printIcon('story', 'edit', "storyID=$child->id&kanbanGroup=default&storyType=$child->type", $child, 'list');
common::printIcon('testcase', 'create', "productID=$child->product&branch=$child->branch&module=0&from=&param=0&story={$child->id}", $child, 'list', 'sitemap', '', 'iframe showinonlybody', true);
}
?>
</td>
</tr>
Expand Down

0 comments on commit 8d862f6

Please sign in to comment.