mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 09:48:51 -03:30
change workflow editor to workflow visualizer
This commit is contained in:
@@ -1728,8 +1728,8 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
|||||||
button.label = i18n._('View Survey');
|
button.label = i18n._('View Survey');
|
||||||
button['class'] = 'Form-surveyButton';
|
button['class'] = 'Form-surveyButton';
|
||||||
}
|
}
|
||||||
if (btn === 'workflow_editor') {
|
if (btn === 'workflow_visualizer') {
|
||||||
button.label = i18n._('Workflow Editor');
|
button.label = i18n._('Workflow Visualizer');
|
||||||
button['class'] = 'Form-primaryButton';
|
button['class'] = 'Form-primaryButton';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -214,12 +214,12 @@ export default ['NotificationsList', 'i18n', function(NotificationsList, i18n) {
|
|||||||
awToolTip: '{{surveyTooltip}}',
|
awToolTip: '{{surveyTooltip}}',
|
||||||
dataPlacement: 'top'
|
dataPlacement: 'top'
|
||||||
},
|
},
|
||||||
workflow_editor: {
|
workflow_visualizer: {
|
||||||
ngClick: 'openWorkflowMaker()',
|
ngClick: 'openWorkflowMaker()',
|
||||||
ngShow: '$state.is(\'templates.addWorkflowJobTemplate\') || $state.is(\'templates.editWorkflowJobTemplate\') || $state.is(\'templates.editWorkflowJobTemplate.workflowMaker\')',
|
ngShow: '$state.is(\'templates.addWorkflowJobTemplate\') || $state.is(\'templates.editWorkflowJobTemplate\') || $state.is(\'templates.editWorkflowJobTemplate.workflowMaker\')',
|
||||||
awToolTip: '{{workflowEditorTooltip}}',
|
awToolTip: '{{workflowVisualizerTooltip}}',
|
||||||
dataPlacement: 'top',
|
dataPlacement: 'top',
|
||||||
label: i18n._('Workflow Editor'),
|
label: i18n._('Workflow Visualizer'),
|
||||||
class: 'Form-primaryButton'
|
class: 'Form-primaryButton'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ export default [
|
|||||||
opts: opts
|
opts: opts
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.workflowEditorTooltip = i18n._("Click here to open the workflow graph editor.");
|
$scope.workflowVisualizerTooltip = i18n._("Click here to open the workflow visualizer.");
|
||||||
$scope.surveyTooltip = i18n._('Surveys allow users to be prompted at job launch with a series of questions related to the job. This allows for variables to be defined that affect the playbook run at time of launch.');
|
$scope.surveyTooltip = i18n._('Surveys allow users to be prompted at job launch with a series of questions related to the job. This allows for variables to be defined that affect the playbook run at time of launch.');
|
||||||
|
|
||||||
$scope.workflow_job_template_obj = workflowJobTemplateData;
|
$scope.workflow_job_template_obj = workflowJobTemplateData;
|
||||||
|
|||||||
Reference in New Issue
Block a user