From fe24a9660d7d185ec180d0eb46ffcec0d28da7c2 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 24 May 2023 16:41:31 +0800 Subject: [PATCH] * Modify the form header style. --- module/task/css/batchcreate.ui.css | 1 + module/task/ui/batchcreate.html.php | 15 +++++++++------ module/task/zen.php | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 module/task/css/batchcreate.ui.css diff --git a/module/task/css/batchcreate.ui.css b/module/task/css/batchcreate.ui.css new file mode 100644 index 0000000000..a6ff7ed6a9 --- /dev/null +++ b/module/task/css/batchcreate.ui.css @@ -0,0 +1 @@ +.panel-heading {justify-content: flex-start;} diff --git a/module/task/ui/batchcreate.html.php b/module/task/ui/batchcreate.html.php index 51485b7174..eb72a8ec1e 100644 --- a/module/task/ui/batchcreate.html.php +++ b/module/task/ui/batchcreate.html.php @@ -212,15 +212,18 @@ $items[] = array /* ====== Define the page structure with zin widgets ====== */ -checkbox -( - set::id('zeroTaskStory'), - set::text($lang->story->zeroTask), - on::change('toggleZeroTaskStory'), -); formBatchPanel ( set::items($items), + to::headingActions + ( + checkbox + ( + set::id('zeroTaskStory'), + set::text($lang->story->zeroTask), + on::change('toggleZeroTaskStory'), + ), + ), on::change('[data-name="module"]', 'setStories'), on::change('[data-name="story"]', 'setStoryRelated'), on::click('[data-name="copyStory"]', 'copyStoryTitle'), diff --git a/module/task/zen.php b/module/task/zen.php index 36b1eb8a7c..f45bc261ef 100644 --- a/module/task/zen.php +++ b/module/task/zen.php @@ -322,7 +322,7 @@ class taskZen extends task list($customFields, $checkedFields) = $this->getCustomFields($execution, 'batchCreate'); - $this->view->title = $execution->name . $this->lang->colon . $this->lang->task->batchCreate; + $this->view->title = $this->lang->task->batchCreate; $this->view->execution = $execution; $this->view->modules = $modules; $this->view->parent = $taskID;