add progress message tooltip
This commit is contained in:
@@ -760,6 +760,7 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
|
||||
var progress = parseInt(installationProgress.split(',')[0], 10);
|
||||
if (isNaN(progress)) progress = 0;
|
||||
app.progress = progress;
|
||||
app.message = installationProgress.replace(/.*, /,'');
|
||||
|
||||
return app;
|
||||
};
|
||||
|
||||
@@ -304,7 +304,7 @@
|
||||
|
||||
<div class="row animateMeOpacity ng-hide" ng-show="installedApps.length > 0">
|
||||
<div class="col-sm-1 grid-item" ng-repeat="app in installedApps | orderBy:'location'">
|
||||
<div style="background-color: white;" class="highlight grid-item-content">
|
||||
<div style="background-color: white;" class="highlight grid-item-content" data-toggle="tooltip" data-placement="bottom" title="{{ app.message }}">
|
||||
<a ng-href="{{app | applicationLink}}" ng-click="(app | installError) === true && showError(app)" target="_blank">
|
||||
<div class="grid-item-top">
|
||||
<div class="row">
|
||||
|
||||
@@ -477,4 +477,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
});
|
||||
|
||||
// setup tooltips (opt-in)
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user