mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Job detail page refactor / Dashboard
Turn off stdout icon for SCM update and inventory sync job types.
This commit is contained in:
parent
c40bd0c430
commit
87a74f058f
@ -106,7 +106,8 @@ angular.module('CompletedJobsDefinition', [])
|
||||
mode: 'all',
|
||||
href: '/#/jobs/{{ completed_job.id }}/stdout',
|
||||
awToolTip: 'View standard output',
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngShow: "completed_job.type == 'job'"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -102,7 +102,8 @@ angular.module('JobsListDefinition', [])
|
||||
mode: 'all',
|
||||
href: '/#/jobs/{{ job.id }}/stdout',
|
||||
awToolTip: 'View standard output',
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngShow: "job.type == 'job'"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -85,7 +85,8 @@ angular.module('QueuedJobsDefinition', [])
|
||||
mode: 'all',
|
||||
ngClick: "viewJobLog(queued_job.id)",
|
||||
awToolTip: 'View job details',
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngShow: "queued_job.type == 'job'"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -91,19 +91,8 @@ angular.module('RunningJobsDefinition', [])
|
||||
mode: 'all',
|
||||
href: '/#/jobs/{{ running_job.id }}/stdout',
|
||||
awToolTip: 'View standard output',
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngShow: "running_job.type == 'job'"
|
||||
}
|
||||
/*dropdown: {
|
||||
type: 'DropDown',
|
||||
ngShow: "running_job.type === 'job'",
|
||||
label: 'View',
|
||||
icon: 'fa-search-plus',
|
||||
'class': 'btn-default btn-xs',
|
||||
options: [
|
||||
//{ ngHref: '/#/jobs/{{ running_job.id }}', label: 'Status' },
|
||||
{ ngHref: '/#/job_events/{{ running_job.id }}', label: 'Events' },
|
||||
{ ngHref: '/#/job_host_summaries/{{ running_job.id }}', label: 'Host Summary' }
|
||||
]
|
||||
}*/
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user