mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
fix lookup message
This commit is contained in:
@@ -54,7 +54,7 @@ export default [ 'templateUrl', 'QuerySet', 'GetBasePath', 'generateList', '$com
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (scope.promptData.templateType === "workflow_job_template") {
|
if (scope.promptData.templateType === "workflow_job_template") {
|
||||||
listConfig.lookupMessage = i18n._("This inventory is applied to all job templates nodes that prompt for an inventory.");
|
listConfig.lookupMessage = i18n._("This inventory is applied to all job template nodes that prompt for an inventory.");
|
||||||
}
|
}
|
||||||
|
|
||||||
let html = GenerateList.build(listConfig);
|
let html = GenerateList.build(listConfig);
|
||||||
|
|||||||
@@ -71,14 +71,14 @@ export default ['NotificationsList', 'i18n', function(NotificationsList, i18n) {
|
|||||||
inventory: {
|
inventory: {
|
||||||
label: i18n._('Inventory'),
|
label: i18n._('Inventory'),
|
||||||
type: 'lookup',
|
type: 'lookup',
|
||||||
lookupMessage: i18n._("This inventory is applied to all job templates nodes that prompt for an inventory."),
|
lookupMessage: i18n._("This inventory is applied to all job template nodes that prompt for an inventory."),
|
||||||
basePath: 'inventory',
|
basePath: 'inventory',
|
||||||
list: 'InventoryList',
|
list: 'InventoryList',
|
||||||
sourceModel: 'inventory',
|
sourceModel: 'inventory',
|
||||||
sourceField: 'name',
|
sourceField: 'name',
|
||||||
autopopulateLookup: false,
|
autopopulateLookup: false,
|
||||||
column: 1,
|
column: 1,
|
||||||
awPopOver: "<p>" + i18n._("Select an inventory for the workflow. This inventory is applied to all job templates nodes that prompt for an inventory.") + "</p>",
|
awPopOver: "<p>" + i18n._("Select an inventory for the workflow. This inventory is applied to all job template nodes that prompt for an inventory.") + "</p>",
|
||||||
dataTitle: i18n._('Inventory'),
|
dataTitle: i18n._('Inventory'),
|
||||||
dataPlacement: 'right',
|
dataPlacement: 'right',
|
||||||
dataContainer: "body",
|
dataContainer: "body",
|
||||||
|
|||||||
Reference in New Issue
Block a user