* adjust my-bug list.

* goto my-bug list from bug-view.
 * ajax get the detail of bug.
This commit is contained in:
chencongzhi520@gmail.com
2013-06-27 02:03:48 +00:00
parent 5368aaeec1
commit 273c5061b2
5 changed files with 27 additions and 53 deletions
+8 -6
View File
@@ -13,11 +13,13 @@
</ul>
</div>
</div>
<?php $this->session->set('bugType', $type);?>
<?php foreach($bugs as $bug):?>
<div data-role="collapsible-set">
<div data-role="collapsible" data-collapsed="true">
<h1><?php echo $bug->title;?></h1>
<h1 onClick="showDetail('bug', <?php echo $bug->id;?>)"><?php echo $bug->title;?></h1>
<div><?php echo $bug->steps;?></div>
<div id='item<?php echo $bug->id;?>'></div>
<div data-role='navbar'>
<ul>
<?php
@@ -29,11 +31,11 @@
{
$browseLink = $this->createLink('my', 'bug');
}
common::printIcon('bug', 'confirmBug', "bugID=$bug->id", $bug, 'button', '', '', 'iframe', true);
common::printIcon('bug', 'assignTo', "bugID=$bug->id", '', 'button', '', '', 'iframe', true);
common::printIcon('bug', 'resolve', "bugID=$bug->id", $bug, 'button', '', '', 'iframe', true);
common::printIcon('bug', 'close', "bugID=$bug->id", $bug, 'button', '', '', 'iframe', true);
common::printIcon('bug', 'activate', "bugID=$bug->id", $bug, 'button', '', '', 'iframe', true);
common::printIcon('bug', 'confirmBug', "bugID=$bug->id", $bug, 'button', '', '', 'iframe');
common::printIcon('bug', 'assignTo', "bugID=$bug->id", '', 'button', '', '', 'iframe');
common::printIcon('bug', 'resolve', "bugID=$bug->id", $bug, 'button', '', '', 'iframe');
common::printIcon('bug', 'close', "bugID=$bug->id", $bug, 'button', '', '', 'iframe');
common::printIcon('bug', 'activate', "bugID=$bug->id", $bug, 'button', '', '', 'iframe');
?>
</ul>
</div>