mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
@@ -3,6 +3,9 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
var toDestroy = [];
|
var toDestroy = [];
|
||||||
var cancelRequests = false;
|
var cancelRequests = false;
|
||||||
|
|
||||||
|
// download stdout tooltip text
|
||||||
|
$scope.standardOutTooltip = "Download Output";
|
||||||
|
|
||||||
// this allows you to manage the timing of rest-call based events as
|
// this allows you to manage the timing of rest-call based events as
|
||||||
// filters are updated. see processPage for more info
|
// filters are updated. see processPage for more info
|
||||||
var currentContext = 1;
|
var currentContext = 1;
|
||||||
@@ -449,6 +452,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
$(".header_task").hide();
|
$(".header_task").hide();
|
||||||
$(".header_play").hide();
|
$(".header_play").hide();
|
||||||
$scope.tooManyEvents = true;
|
$scope.tooManyEvents = true;
|
||||||
|
$scope.standardOutTooltip = 'The output is too large to display. Please download. <i class="fa icon-job-error"></i>';
|
||||||
} else {
|
} else {
|
||||||
$(".header_task").show();
|
$(".header_task").show();
|
||||||
$(".header_play").show();
|
$(".header_play").show();
|
||||||
|
|||||||
@@ -488,7 +488,8 @@
|
|||||||
job.status === 'canceled'"
|
job.status === 'canceled'"
|
||||||
href="/api/v1/jobs/{{ job.id }}/stdout?format=txt_download&token={{ token }}">
|
href="/api/v1/jobs/{{ job.id }}/stdout?format=txt_download&token={{ token }}">
|
||||||
<button class="StandardOut-actionButton"
|
<button class="StandardOut-actionButton"
|
||||||
aw-tool-tip="Download Output"
|
aw-tool-tip="{{ standardOutTooltip }}"
|
||||||
|
data-tip-watch="standardOutTooltip"
|
||||||
data-placement="top">
|
data-placement="top">
|
||||||
<i class="fa fa-download"></i>
|
<i class="fa fa-download"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user