From 2c0d22cbdaf724edd992313d3d9437b7aa8fa69d Mon Sep 17 00:00:00 2001 From: zhouxin Date: Wed, 25 Oct 2023 13:51:35 +0800 Subject: [PATCH] * Remove old product menu of executon-bug. --- module/execution/ui/bug.html.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/module/execution/ui/bug.html.php b/module/execution/ui/bug.html.php index 0e5eee480f..d5eb74050c 100644 --- a/module/execution/ui/bug.html.php +++ b/module/execution/ui/bug.html.php @@ -10,34 +10,9 @@ declare(strict_types=1); */ namespace zin; -/* zin: Define the productMenu on main menu. */ -$productDropdown = ''; -if($execution->hasProduct) -{ - $productDropdown = productMenu( - set::title($product ? $product->name : $productOption[$productID]), - set::items($productOption), - set::activeKey($productID), - set::link(helper::createLink('execution', 'bug', "executionID={$execution->id}&productID={key}")), - ); -} - -$branchDropdown = ''; -if($showBranch) -{ - $branchDropdown = productMenu( - set::title($branchOption[$branch]), - set::items($branchOption), - set::activeKey($branch), - set::link(helper::createLink('execution', 'bug', "executionID={$execution->id}&productID={$productID}&branch=%s")), - ); -} - /* zin: Define the set::module('bug') feature bar on main menu. */ featureBar ( - to::before($productDropdown), - to::before($branchDropdown), set::current($type), set::linkParams("executionID={$execution->id}&productID={$productID}&branch={$branchID}&orderBy={$orderBy}&build={$buildID}&type={key}¶m=$param&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}"), li(searchToggle(set::module('executionBug'), set::open($type == 'bysearch')))