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
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.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';
} }

View File

@@ -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'
} }
} }

View File

@@ -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;