From 3b1c63be866c3170e1d0d30e581ee1ee49c6e1e8 Mon Sep 17 00:00:00 2001 From: liugang Date: Thu, 6 Jul 2023 19:27:50 +0800 Subject: [PATCH] * Remove unused code. --- module/product/ui/all.html.php | 3 +-- module/program/ui/productview.html.php | 3 +-- module/testcase/ui/header.html.php | 3 +-- module/testtask/ui/cases.html.php | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/module/product/ui/all.html.php b/module/product/ui/all.html.php index 592a71762d..4e5c533151 100644 --- a/module/product/ui/all.html.php +++ b/module/product/ui/all.html.php @@ -104,8 +104,7 @@ featureBar set::text($lang->product->edit), set::checked($this->cookie->editProject) ) : null, - li(searchToggle(set::open($browseType == 'bySearch'))), - li(btn(setClass('ghost'), set::icon('unfold-all'), $lang->sort)) + li(searchToggle(set::open($browseType == 'bySearch'))) ); toolbar diff --git a/module/program/ui/productview.html.php b/module/program/ui/productview.html.php index 03cfbdd625..4dcea852c1 100644 --- a/module/program/ui/productview.html.php +++ b/module/program/ui/productview.html.php @@ -255,8 +255,7 @@ featureBar set('data-load', 'table'), set::checked($this->cookie->editProject) )) : NULL, - li(searchToggle(set::open($browseType == 'bySearch'), set::module('program'))), - li(btn(setClass('ghost'), set::icon('unfold-all'), $lang->sort)) + li(searchToggle(set::open($browseType == 'bySearch'), set::module('program'))) ); toolbar diff --git a/module/testcase/ui/header.html.php b/module/testcase/ui/header.html.php index f0401d2711..4cd688ec54 100644 --- a/module/testcase/ui/header.html.php +++ b/module/testcase/ui/header.html.php @@ -162,8 +162,7 @@ featureBar $lang->testcase->onlyAutomated ) ) : null, - $rawMethod != 'browseunits' ? (searchToggle(set::open($browseType == 'bysearch'))) : null, - $rawMethod != 'browseunits' ? li(btn(setClass('ghost'), set::icon('unfold-all'), $lang->sort)) : null + $rawMethod != 'browseunits' ? (searchToggle(set::open($browseType == 'bysearch'))) : null ); $viewItems = array(array('text' => $lang->testcase->listView, 'active' => true)); diff --git a/module/testtask/ui/cases.html.php b/module/testtask/ui/cases.html.php index 9d3c8de0cb..fa61292a19 100644 --- a/module/testtask/ui/cases.html.php +++ b/module/testtask/ui/cases.html.php @@ -77,8 +77,7 @@ featureBar ), set::items($suiteItems) ), - li(searchToggle(set::open($browseType == 'bysearch'))), - li(btn(setClass('ghost'), set::icon('unfold-all'), $lang->sort)) + li(searchToggle(set::open($browseType == 'bysearch'))) ); toolbar