From fa9ccf1d0a51c81e6d500ab60c360d0a3fc4360a Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Wed, 6 Nov 2013 15:30:37 +0000 Subject: [PATCH] AC-595 for form/list definitions using \{\{ \}\} replacement variables in the title, include the capitalize filter. --- awx/ui/static/js/forms/Inventories.js | 2 +- 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,