mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 06:29:31 -02:30
removing logic in job detail page related to scm updates
job detail page is only for job runs, scm updates have their own stdout page
This commit is contained in:
@@ -429,7 +429,6 @@ export default
|
|||||||
order_by: 'id'
|
order_by: 'id'
|
||||||
};
|
};
|
||||||
|
|
||||||
if (scope.job && scope.job.summary_fields && scope.job.summary_fields.unified_job_template && scope.job.summary_fields.unified_job_template.unified_job_type === 'job'){
|
|
||||||
JobDetailService.getJobPlays(scope.job.id, params)
|
JobDetailService.getJobPlays(scope.job.id, params)
|
||||||
.success( function(data) {
|
.success( function(data) {
|
||||||
scope.next_plays = data.next;
|
scope.next_plays = data.next;
|
||||||
@@ -515,7 +514,6 @@ export default
|
|||||||
}
|
}
|
||||||
scope.$emit('LoadTasks', events_url);
|
scope.$emit('LoadTasks', events_url);
|
||||||
});
|
});
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -164,7 +164,7 @@
|
|||||||
<!--- end of results-->
|
<!--- end of results-->
|
||||||
|
|
||||||
<!--beginning of details-->
|
<!--beginning of details-->
|
||||||
<div id="job-detail-panel" class="JobDetail-resultsContainer Panel" ng-show="!stdoutFullScreen && job.summary_fields.unified_job_template.unified_job_type == 'job'">
|
<div id="job-detail-panel" class="JobDetail-resultsContainer Panel" ng-show="!stdoutFullScreen">
|
||||||
<div class="JobDetail-panelHeader">
|
<div class="JobDetail-panelHeader">
|
||||||
<div class="JobDetail-expandContainer">
|
<div class="JobDetail-expandContainer">
|
||||||
<a class="JobDetail-panelHeaderText" ng-show="lessDetail" href="" ng-click="toggleLessDetail()">
|
<a class="JobDetail-panelHeaderText" ng-show="lessDetail" href="" ng-click="toggleLessDetail()">
|
||||||
@@ -379,7 +379,7 @@
|
|||||||
<!--end of details-->
|
<!--end of details-->
|
||||||
|
|
||||||
<!--beginning of events summary-->
|
<!--beginning of events summary-->
|
||||||
<div id="events-summary-panel" class="JobDetail-resultsContainer Panel" ng-show="!stdoutFullScreen && job.summary_fields.unified_job_template.unified_job_type == 'job'">
|
<div id="events-summary-panel" class="JobDetail-resultsContainer Panel" ng-show="!stdoutFullScreen">
|
||||||
<div class="JobDetail-panelHeader">
|
<div class="JobDetail-panelHeader">
|
||||||
<div class="JobDetail-expandContainer">
|
<div class="JobDetail-expandContainer">
|
||||||
<a class="JobDetail-panelHeaderText" ng-show="lessEvents" ui-sref="jobDetail.host-summary" ng-click="toggleLessEvents()">
|
<a class="JobDetail-panelHeaderText" ng-show="lessEvents" ui-sref="jobDetail.host-summary" ng-click="toggleLessEvents()">
|
||||||
|
|||||||
Reference in New Issue
Block a user