Improve edit/delete links for a version's test results list
This commit is contained in:
committed by
Chris Morgan
parent
6d5c979f15
commit
cd7aa0fdb5
@@ -613,13 +613,12 @@ class testData{
|
|||||||
$oTableRow->AddTextCell($oSubmitter->objectMakeLink().' ');
|
$oTableRow->AddTextCell($oSubmitter->objectMakeLink().' ');
|
||||||
if ($this->iTestingId && $_SESSION['current']->hasAppVersionModifyPermission($oVersion))
|
if ($this->iTestingId && $_SESSION['current']->hasAppVersionModifyPermission($oVersion))
|
||||||
{
|
{
|
||||||
$oObject = new objectManager("testData");
|
$oObject = new objectManager('testData');
|
||||||
$oTableRow->AddTextCell('<a href="'.$oObject->makeUrl("edit", $this->iTestingId,
|
$oTableRow->AddTextCell('<a href="'.$oObject->makeUrl('edit', $this->iTestingId,
|
||||||
"Edit Test Results").'">'.
|
'Edit Test Results').'&sReturnTo='.urlencode($_SERVER['REQUEST_URI']).'">'.
|
||||||
'Edit</a> ',"\n".
|
'Edit</a> '."\n".
|
||||||
'<a href="objectManager.php?sClass=testData&bIsQueue=false&sAction='.
|
'<a href="'.$oObject->makeUrl('delete', $this->iTestingId, 'Delete+Test+Results').
|
||||||
'delete&iId='.$this->iTestingId.'&sTitle=Delete+Test+Results'.
|
'&sReturnTo='.urlencode($_SERVER['REQUEST_URI']).'">Delete</a></td>'."\n");
|
||||||
'">Delete</a></td>',"\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// if this is a clickable row, set the appropriate property
|
// if this is a clickable row, set the appropriate property
|
||||||
|
|||||||
Reference in New Issue
Block a user