change workflow editor to workflow visualizer

This commit is contained in:
Haokun-Chen 2018-06-21 12:27:35 -04:00
parent 008a3a0d01
commit f3e4780c7a
No known key found for this signature in database
GPG Key ID: B2AA94BEF6591515
3 changed files with 6 additions and 6 deletions

View File

@ -1728,8 +1728,8 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
button.label = i18n._('View Survey');
button['class'] = 'Form-surveyButton';
}
if (btn === 'workflow_editor') {
button.label = i18n._('Workflow Editor');
if (btn === 'workflow_visualizer') {
button.label = i18n._('Workflow Visualizer');
button['class'] = 'Form-primaryButton';
}

View File

@ -214,12 +214,12 @@ export default ['NotificationsList', 'i18n', function(NotificationsList, i18n) {
awToolTip: '{{surveyTooltip}}',
dataPlacement: 'top'
},
workflow_editor: {
workflow_visualizer: {
ngClick: 'openWorkflowMaker()',
ngShow: '$state.is(\'templates.addWorkflowJobTemplate\') || $state.is(\'templates.editWorkflowJobTemplate\') || $state.is(\'templates.editWorkflowJobTemplate.workflowMaker\')',
awToolTip: '{{workflowEditorTooltip}}',
awToolTip: '{{workflowVisualizerTooltip}}',
dataPlacement: 'top',
label: i18n._('Workflow Editor'),
label: i18n._('Workflow Visualizer'),
class: 'Form-primaryButton'
}
}

View File

@ -258,7 +258,7 @@ export default [
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.workflow_job_template_obj = workflowJobTemplateData;