From a9990357476253247dc3bf4cf9aac1e4c43f490d Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 22 Dec 2023 15:37:16 +0800 Subject: [PATCH] * Replace `input` with `colorInput`, add colorPicker to title in the batch form of the bug module. --- module/bug/ui/batchcreate.html.php | 2 +- module/bug/ui/batchedit.html.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/bug/ui/batchcreate.html.php b/module/bug/ui/batchcreate.html.php index 46a00db300..b09a2e0d07 100644 --- a/module/bug/ui/batchcreate.html.php +++ b/module/bug/ui/batchcreate.html.php @@ -64,7 +64,7 @@ $items[] = array $items[] = array('name' => 'openedBuild', 'label' => $lang->bug->openedBuild, 'control' => 'picker', 'items' => $builds, 'value' => 'trunk', 'multiple' => true, 'width' => '200px', 'required' => true, 'ditto' => true); /* Field of title. */ -$items[] = array( 'name' => 'title', 'label' => $lang->bug->title, 'width' => '240px', 'required' => true); +$items[] = array( 'name' => 'title', 'label' => $lang->bug->title, 'width' => '240px', 'required' => true, 'control' => 'colorInput'); /* Field of region and lane. */ if(isset($executionType) && $executionType == 'kanban') diff --git a/module/bug/ui/batchedit.html.php b/module/bug/ui/batchedit.html.php index f78fc38184..ec980ffcba 100644 --- a/module/bug/ui/batchedit.html.php +++ b/module/bug/ui/batchedit.html.php @@ -96,6 +96,7 @@ formBatchPanel formBatchItem ( set::name('title'), + set::control('colorInput'), set::label($lang->bug->title), set::width('240px'), set::required(true)