From b13008421b44f5977bfa7f6228a57a57a7401308 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Wed, 13 Aug 2014 11:27:18 -0400 Subject: [PATCH] License Fixed text typos. Fixed title for missing license. --- awx/ui/static/js/helpers/License.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/awx/ui/static/js/helpers/License.js b/awx/ui/static/js/helpers/License.js index 44aa281127..4228220499 100644 --- a/awx/ui/static/js/helpers/License.js +++ b/awx/ui/static/js/helpers/License.js @@ -70,15 +70,15 @@ function($rootScope, $compile, CreateDialog, Store, LicenseUpdateForm, GenerateF if (parseInt(license.grace_period_remaining,10) > 86400) { // trial licenses don't get a grace period if (license.trial) { - html += "

Don't worry- your existing history and content has not been affected, but playbooks will no longer run and new hosts cannot be added. " + + html += "

Don't worry — your existing history and content has not been affected, but playbooks will no longer run and new hosts cannot be added. " + "If you are ready to upgrade, " + contact_us + " or visit " + pricing + " to see all of your license options. Thanks!

"; } else { - html += "

Don't worry- your existing history and content has not been affected, but in " + this.getRemainingDays(license.grace_period_remaining) + " days playbooks will no longer " + + html += "

Don't worry — your existing history and content has not been affected, but in " + this.getRemainingDays(license.grace_period_remaining) + " days playbooks will no longer " + "run and new hosts cannot be added. If you are ready to upgrade, " + contact_us + " " + "or visit ansible.com/pricing to see all of your license options. Thanks!

"; } } else { - html += "

Don’t worry- your existing history and content has not been affected, but playbooks will no longer run and new hosts cannot be added. If you are ready to renew or upgrade, contact us " + + html += "

Don’t worry — your existing history and content has not been affected, but playbooks will no longer run and new hosts cannot be added. If you are ready to renew or upgrade, contact us " + "at " + renew + ". Thanks!

"; } } @@ -109,7 +109,7 @@ function($rootScope, $compile, CreateDialog, Store, LicenseUpdateForm, GenerateF } } else { // No license - title = "License Required"; + title = "Add Your License"; html = "

Now that you’ve successfully installed or upgraded Ansible Tower, the next step is to add a license file.

" + "

If you don’t have a license file yet, visit " + pricing + " to see all of our free and paid license options.

"; } @@ -244,7 +244,7 @@ function($rootScope, $compile, CreateDialog, Store, LicenseUpdateForm, GenerateF CreateDialog({ scope: scope, buttons: buttons, - width: 700, + width: 675, height: height, minWidth: 400, title: html.title, @@ -370,7 +370,7 @@ function ($location, $rootScope, $compile, $filter, GenerateForm, Rest, Alert, G CreateDialog({ scope: scope, buttons: buttons, - width: 700, + width: 675, height: 600, minWidth: 400, title: 'Ansible Tower License',