From fb10d6c4eb6d418f679b34be839d13ec13562c58 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 6 Nov 2023 13:58:47 +0800 Subject: [PATCH] * Fix bug #40209, and modify the style of the main menu in testcase::browse. --- module/testcase/ui/header.html.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/module/testcase/ui/header.html.php b/module/testcase/ui/header.html.php index fb5deb58be..7d124373ec 100644 --- a/module/testcase/ui/header.html.php +++ b/module/testcase/ui/header.html.php @@ -256,11 +256,12 @@ toolbar ) : null, $canAutomation ? btn ( - set - ( - array('icon' => 'wrench', 'hint' => $lang->testcase->automation, 'url' => inlink('automation', "productID=$productID"), 'class' => 'btn ghost square', 'data-toggle' => 'modal', 'data-width' => '50%') - ), - $lang->testcase->automation + setClass('ghost square'), + set::icon('wrench'), + set::hint($lang->testcase->automation), + set::url(inlink('automation', "productID={$productID}")), + set('data-toggle', 'modal'), + set('data-width', '50%'), ) : null, $exportItems ? dropdown ( @@ -268,7 +269,6 @@ toolbar ( setClass('btn ghost square'), set::icon('export'), - $lang->export ), set::items($exportItems), set::placement('bottom-end'), @@ -279,7 +279,6 @@ toolbar ( setClass('btn ghost square'), set::icon('import'), - $lang->import ), set::items($importItems), set::placement('bottom-end'),