diff --git a/include/sidebar_admin.php b/include/sidebar_admin.php index db37a5c..2d724c8 100644 --- a/include/sidebar_admin.php +++ b/include/sidebar_admin.php @@ -32,6 +32,9 @@ function global_admin_menu() { BASE."admin/adminMaintainers.php"); $g->add("View Bug Links (".getNumberOfQueuedBugLinks()."/".getNumberOfBugLinks().")", BASE."admin/adminBugs.php"); + $g->add("View Test Results (".testData::objectGetEntriesCount(false, false).")", + BASE."objectManager.php?sClass=testData&bIsQueue=false&sTitle=". + "View%20Test%20Results"); $g->add("Users Management", BASE."admin/adminUsers.php"); $g->add("Comments Management", BASE."admin/adminCommentView.php"); $g->add("Screenshots Management", BASE."admin/adminScreenshots.php"); diff --git a/include/testData.php b/include/testData.php index e0015b5..ae29b5a 100644 --- a/include/testData.php +++ b/include/testData.php @@ -936,8 +936,13 @@ class testData{ if($this->canEdit() or $this->sQueued == "rejected") { + $shDeleteLink = "[ makeUrl("delete", + $this->iTestingId). + "\"> delete ]"; + $aCells[] = "[ makeUrl("edit", - $this->iTestingId)."\">$sEditLinkLabel ]"; + $this->iTestingId)."\">$sEditLinkLabel ]". + $shDeleteLink; } echo html_tr($aCells, $this->sTestedRating);