mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
Applied list search widget changes (dropdown, boolean, int, etc) to related sets search widget. Fixed desc sort order and desc sort icon display for related set page load. Added job status with icon and color styling to Job Templates related jobs.
This commit is contained in:
@@ -166,18 +166,39 @@ angular.module('JobTemplateFormDefinition', [])
|
||||
type: 'collection',
|
||||
title: 'Jobs',
|
||||
iterator: 'job',
|
||||
index: false,
|
||||
open: false,
|
||||
|
||||
actions: {
|
||||
},
|
||||
|
||||
fields: {
|
||||
name: {
|
||||
id: {
|
||||
label: 'Job ID',
|
||||
key: true,
|
||||
label: 'Name'
|
||||
desc: true,
|
||||
searchType: 'int'
|
||||
},
|
||||
name: {
|
||||
label: 'Name',
|
||||
link: true
|
||||
},
|
||||
description: {
|
||||
label: 'Description'
|
||||
},
|
||||
status: {
|
||||
label: 'Status',
|
||||
icon: 'icon-circle',
|
||||
"class": 'job-\{\{ job.status \}\}',
|
||||
searchType: 'select',
|
||||
searchOptions: [
|
||||
{ name: "new", value: "new" },
|
||||
{ name: "pending", value: "pending" },
|
||||
{ name: "running", value: "running" },
|
||||
{ name: "successful", value: "successful" },
|
||||
{ name: "error", value: "error" },
|
||||
{ name: "failed", value: "failed" },
|
||||
{ name: "canceled", value: "canceled" } ]
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user