From 0c2c8eb7a959af852c18e52a3bdde203b536f199 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Tue, 13 Apr 2010 03:38:52 +0000 Subject: [PATCH] * adjust the my-bugs page. --- trunk/module/my/view/bug.html.php | 39 ++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/trunk/module/my/view/bug.html.php b/trunk/module/my/view/bug.html.php index 9169e99968..9a6d453318 100644 --- a/trunk/module/my/view/bug.html.php +++ b/trunk/module/my/view/bug.html.php @@ -25,28 +25,41 @@
- +
- - + + + + - - - - + + + + + - - - - - - + + + + + + + + +
bug->id;?>bug->severity;?>idAB;?>bug->severityAB;?>priAB;?>typeAB;?> bug->title;?>bug->openedBy;?>bug->assignedTo;?>bug->resolvedBy;?>bug->resolution;?>openedByAB;?>assignedToAB;?>bug->resolvedBy;?>bug->resolutionAB;?>actions;?>
createLink('bug', 'view', "bugID=$bug->id"), $bug->id, '_blank');?>severity?>title;?>openedBy;?>assignedTo;?>resolvedBy;?>resolution;?>bug->severityList[$bug->severity]?>bug->priList[$bug->pri]?>bug->typeList[$bug->type]?>title;?>openedBy];?>assignedTo];?>resolvedBy];?>bug->resolutionList[$bug->resolution];?> + id"; + if(!($bug->status == 'active' and common::printLink('bug', 'resolve', $params, $lang->bug->buttonResolve))) echo $lang->bug->buttonResolve . ' '; + if(!($bug->status == 'resolved' and common::printLink('bug', 'close', $params, $lang->bug->buttonClose))) echo $lang->bug->buttonClose . ' '; + common::printLink('bug', 'edit', $params, $lang->bug->buttonEdit); + ?> +