mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
problem with version on About Tower and View License
This commit is contained in:
parent
620fc56f57
commit
a38bb7c79c
@ -44,7 +44,7 @@ angular.module('AboutAnsibleHelpModal', ['RestServices', 'Utilities','ModalDialo
|
||||
scope.removeBuildAboutDialog = scope.$on('BuildAboutDialog', function(e, data) {
|
||||
var spaces, i, j,
|
||||
paddedStr = "",
|
||||
version = data.version.replace(/-\d*$/,'');
|
||||
version = data.version.replace(/-.*$/,'');
|
||||
|
||||
spaces = Math.floor((16-version.length)/2);
|
||||
for( i=0; i<=spaces; i++){
|
||||
|
||||
@ -537,7 +537,7 @@ function ($location, $rootScope, $compile, $filter, GenerateForm, Rest, Alert, G
|
||||
}
|
||||
scope.removeLicenseDataReady = scope.$on('LicenseDataReady', function(e, data) {
|
||||
var html, version;
|
||||
version = data.version.replace(/-\d*$/,'');
|
||||
version = data.version.replace(/-.*$/,'');
|
||||
self.setLicense(data.license_info, version);
|
||||
html = self.getDefaultHTML(data.license_info);
|
||||
self.loadDefaultScope(data.license_info, version);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user