From 5ba2ef7bd3e67b26e849f0d824a05275dfc6d544 Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Sat, 27 Apr 2024 20:43:05 +0300 Subject: [PATCH] Jobs --- app/templates/Jobs/fields.inc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/app/templates/Jobs/fields.inc b/app/templates/Jobs/fields.inc index 2f839227a..769b51c27 100644 --- a/app/templates/Jobs/fields.inc +++ b/app/templates/Jobs/fields.inc @@ -27,9 +27,18 @@ // This view does not support add or edit if($vv_action == 'view') { - print $this->Field->control('plugin', labelText: __d('controller', 'Jobs', [1])); - - print $this->Field->control('status'); + print $this->element('form/listItem', [ + 'arguments' => [ + 'fieldName' => 'plugin', + 'labelText' => __d('controller', 'Jobs', [1]) + ] + ]); + + print $this->element('form/listItem', [ + 'arguments' => [ + 'fieldName' => 'status' + ] + ]); if($vv_obj->status == \App\Lib\Enum\JobStatusEnum::InProgress) { print $this->element('form/listItem', [