diff --git a/awx/ui/static/js/lists/CompletedJobs.js b/awx/ui/static/js/lists/CompletedJobs.js index 6829a74186..343ca88657 100644 --- a/awx/ui/static/js/lists/CompletedJobs.js +++ b/awx/ui/static/js/lists/CompletedJobs.js @@ -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'" } } }); diff --git a/awx/ui/static/js/lists/Jobs.js b/awx/ui/static/js/lists/Jobs.js index d842f6b9fc..56c20fdaea 100644 --- a/awx/ui/static/js/lists/Jobs.js +++ b/awx/ui/static/js/lists/Jobs.js @@ -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'" } } }); diff --git a/awx/ui/static/js/lists/QueuedJobs.js b/awx/ui/static/js/lists/QueuedJobs.js index 34b584b992..df735ffea9 100644 --- a/awx/ui/static/js/lists/QueuedJobs.js +++ b/awx/ui/static/js/lists/QueuedJobs.js @@ -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'" } } }); diff --git a/awx/ui/static/js/lists/RunningJobs.js b/awx/ui/static/js/lists/RunningJobs.js index e7b376a463..ebae45fdd2 100644 --- a/awx/ui/static/js/lists/RunningJobs.js +++ b/awx/ui/static/js/lists/RunningJobs.js @@ -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' } - ] - }*/ } });