Job detail page refactor / Dashboard

Turn off stdout icon for SCM update and inventory sync job types.
This commit is contained in:
Chris Houseknecht 2014-06-30 09:35:10 -04:00
parent c40bd0c430
commit 87a74f058f
4 changed files with 8 additions and 16 deletions

View File

@ -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'"
}
}
});

View File

@ -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'"
}
}
});

View File

@ -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'"
}
}
});

View File

@ -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' }
]
}*/
}
});