Skip to content

Commit

Permalink
Jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Apr 27, 2024
1 parent 5bdfbdb commit 5ba2ef7
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions app/templates/Jobs/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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', [
Expand Down

0 comments on commit 5ba2ef7

Please sign in to comment.