diff options
author | Chris Houseknecht <chouse@ansibleworks.com> | 2013-11-06 16:30:37 +0100 |
---|---|---|
committer | Chris Houseknecht <chouse@ansibleworks.com> | 2013-11-06 16:30:37 +0100 |
commit | fa9ccf1d0a51c81e6d500ab60c360d0a3fc4360a (patch) | |
tree | 5f2d785ac3694b74513ad650168ecb7d2180f877 | |
parent | AC-570 Added host enabled flag on Hosts page, allowing one-click editing for ... (diff) | |
download | awx-fa9ccf1d0a51c81e6d500ab60c360d0a3fc4360a.tar.xz awx-fa9ccf1d0a51c81e6d500ab60c360d0a3fc4360a.zip |
AC-595 for form/list definitions using \{\{ \}\} replacement variables in the title, include the capitalize filter.
-rw-r--r-- | awx/ui/static/js/forms/Inventories.js | 2 | ||||
-rw-r--r-- | awx/ui/static/js/lists/InventorySummary.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/awx/ui/static/js/forms/Inventories.js b/awx/ui/static/js/forms/Inventories.js index 61408a21e1..dacf6a9b14 100644 --- a/awx/ui/static/js/forms/Inventories.js +++ b/awx/ui/static/js/forms/Inventories.js @@ -11,7 +11,7 @@ angular.module('InventoryFormDefinition', []) 'InventoryForm', { addTitle: 'Create Inventory', - editTitle: '{{ inventory_name }}', + editTitle: '{{ inventory_name | capitalize }}', name: 'inventory', parseTypeName: 'inventoryParseType', well: true, diff --git a/awx/ui/static/js/lists/InventorySummary.js b/awx/ui/static/js/lists/InventorySummary.js index 6e3cd7f2e1..046b1dcad4 100644 --- a/awx/ui/static/js/lists/InventorySummary.js +++ b/awx/ui/static/js/lists/InventorySummary.js @@ -12,7 +12,7 @@ angular.module('InventorySummaryDefinition', []) name: 'groups', iterator: 'group', - editTitle: '{{ inventory_name }}', + editTitle: '{{ inventory_name | capitalize }}', showTitle: true, well: true, index: false, |