mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Job detail page refactor / Dashboard
Turn off stdout icon for SCM update and inventory sync job types.
This commit is contained in:
@@ -106,7 +106,8 @@ angular.module('CompletedJobsDefinition', [])
|
|||||||
mode: 'all',
|
mode: 'all',
|
||||||
href: '/#/jobs/{{ completed_job.id }}/stdout',
|
href: '/#/jobs/{{ completed_job.id }}/stdout',
|
||||||
awToolTip: 'View standard output',
|
awToolTip: 'View standard output',
|
||||||
dataPlacement: 'top'
|
dataPlacement: 'top',
|
||||||
|
ngShow: "completed_job.type == 'job'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -102,7 +102,8 @@ angular.module('JobsListDefinition', [])
|
|||||||
mode: 'all',
|
mode: 'all',
|
||||||
href: '/#/jobs/{{ job.id }}/stdout',
|
href: '/#/jobs/{{ job.id }}/stdout',
|
||||||
awToolTip: 'View standard output',
|
awToolTip: 'View standard output',
|
||||||
dataPlacement: 'top'
|
dataPlacement: 'top',
|
||||||
|
ngShow: "job.type == 'job'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -85,7 +85,8 @@ angular.module('QueuedJobsDefinition', [])
|
|||||||
mode: 'all',
|
mode: 'all',
|
||||||
ngClick: "viewJobLog(queued_job.id)",
|
ngClick: "viewJobLog(queued_job.id)",
|
||||||
awToolTip: 'View job details',
|
awToolTip: 'View job details',
|
||||||
dataPlacement: 'top'
|
dataPlacement: 'top',
|
||||||
|
ngShow: "queued_job.type == 'job'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -91,19 +91,8 @@ angular.module('RunningJobsDefinition', [])
|
|||||||
mode: 'all',
|
mode: 'all',
|
||||||
href: '/#/jobs/{{ running_job.id }}/stdout',
|
href: '/#/jobs/{{ running_job.id }}/stdout',
|
||||||
awToolTip: 'View standard output',
|
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' }
|
|
||||||
]
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user