diff --git a/awx/ui/static/js/helpers/License.js b/awx/ui/static/js/helpers/License.js index f1c7c4d1a1..00915baaca 100644 --- a/awx/ui/static/js/helpers/License.js +++ b/awx/ui/static/js/helpers/License.js @@ -94,6 +94,10 @@ function($rootScope, $compile, CreateDialog, Store, LicenseUpdateForm, GenerateF } else { html += "

After this license expires, playbooks will no longer run and hosts cannot be added. If you are ready to renew or upgrade, contact us at " + renew + ". Thanks!

"; } + + // If there is exactly one day remaining, change "days remaining" + // to "day remaining". + html = html.replace('has 1 days remaining', 'has 1 day remaining'); } else if (license.free_instances <= 0) { title = "Host Count Exceeded"; @@ -604,4 +608,4 @@ function ($location, $rootScope, $compile, $filter, GenerateForm, Rest, Alert, G }; } ]); -*/ \ No newline at end of file +*/