From e2c1cf29aa7bcf1ad3e44028bf19cbcafd8a695d Mon Sep 17 00:00:00 2001 From: wyd621 Date: Mon, 24 Mar 2014 05:30:51 +0000 Subject: [PATCH] * add assignedTo field for my-bug. --- module/my/view/bug.html.php | 44 ++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/module/my/view/bug.html.php b/module/my/view/bug.html.php index 5527301799..71753da327 100644 --- a/module/my/view/bug.html.php +++ b/module/my/view/bug.html.php @@ -33,6 +33,7 @@ typeAB);?> bug->title);?> openedByAB);?> + bug->assignedTo);?> bug->resolvedByAB);?> bug->resolutionAB);?> actions;?> @@ -51,6 +52,7 @@ bug->typeList[$bug->type]?> createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?> openedBy];?> + assignedTo];?> resolvedBy];?> bug->resolutionList[$bug->resolution];?> @@ -67,28 +69,30 @@ - - -
- + + +
+ createLink('bug', 'batchEdit', "productID=0"); - echo html::commonButton($lang->edit, "onclick=\"setFormAction('$actionLink')\""); - } + if(common::hasPriv('bug', 'batchEdit')) + { + $actionLink = $this->createLink('bug', 'batchEdit', "productID=0"); + echo html::commonButton($lang->edit, "onclick=\"setFormAction('$actionLink')\""); + } - if(common::hasPriv('bug', 'batchClose') and $type != 'closedBy') - { - $actionLink = $this->createLink('bug', 'batchClose'); - echo html::commonButton($lang->bug->close, "onclick=\"setFormAction('$actionLink','hiddenwin')\""); - } - ?> -
- - show();?> - + if(common::hasPriv('bug', 'batchClose') and $type != 'closedBy') + { + $actionLink = $this->createLink('bug', 'batchClose'); + echo html::commonButton($lang->bug->close, "onclick=\"setFormAction('$actionLink','hiddenwin')\""); + } + ?> +
+ + show();?> + +