mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
@@ -82,8 +82,10 @@ export default
|
|||||||
|
|
||||||
var calcExpiresOn = function(days){
|
var calcExpiresOn = function(days){
|
||||||
// calculate the expiration date of the license
|
// calculate the expiration date of the license
|
||||||
|
days = parseInt(days);
|
||||||
return moment().add(days, 'days').calendar();
|
return moment().add(days, 'days').calendar();
|
||||||
};
|
};
|
||||||
|
|
||||||
var init = function(){
|
var init = function(){
|
||||||
$scope.fileName = "No file selected.";
|
$scope.fileName = "No file selected.";
|
||||||
$scope.title = $rootScope.licenseMissing ? "Tower License" : "License Management";
|
$scope.title = $rootScope.licenseMissing ? "Tower License" : "License Management";
|
||||||
|
|||||||
Reference in New Issue
Block a user