download standard out tooltip

related to #4342
This commit is contained in:
Chris Meyers 2017-01-17 09:51:48 -05:00
parent 67b9960d5a
commit 322c774823
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,9 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
var toDestroy = [];
var cancelRequests = false;
// download stdout tooltip text
$scope.standardOutTooltip = "Download Output";
// this allows you to manage the timing of rest-call based events as
// filters are updated. see processPage for more info
var currentContext = 1;
@ -449,6 +452,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
$(".header_task").hide();
$(".header_play").hide();
$scope.tooManyEvents = true;
$scope.standardOutTooltip = 'The output is too large to display. Please download. <i class="fa icon-job-error"></i>';
} else {
$(".header_task").show();
$(".header_play").show();

View File

@ -488,7 +488,8 @@
job.status === 'canceled'"
href="/api/v1/jobs/{{ job.id }}/stdout?format=txt_download&token={{ token }}">
<button class="StandardOut-actionButton"
aw-tool-tip="Download Output"
aw-tool-tip="{{ standardOutTooltip }}"
data-tip-watch="standardOutTooltip"
data-placement="top">
<i class="fa fa-download"></i>
</button>