workflows: update webservice trigger label (#40204)

This commit is contained in:
Serghei Mihai 2020-04-17 09:21:18 +02:00
parent a341388806
commit a28f824454
2 changed files with 3 additions and 3 deletions

View File

@ -1298,7 +1298,7 @@ class GlobalActionPage(WorkflowStatusPage):
available_triggers = [
('timeout', _('Automatic')),
('manual', _('Manual')),
('webservice', _('Webservice')),
('webservice', _('External call')),
]
form.add(SingleSelectWidget, 'type', title=_('Type'),
required=True, options=available_triggers)

View File

@ -1310,9 +1310,9 @@ class WorkflowGlobalActionWebserviceTrigger(WorkflowGlobalActionManualTrigger):
def render_as_line(self):
if self.identifier:
return _('Webservice (%s)') % self.identifier
return _('External call (%s)') % self.identifier
else:
return _('Webservice (not configured)')
return _('External call (not configured)')
def form(self, workflow):
form = Form(enctype='multipart/form-data')