Improve success messages when it takes time to display the action
Closes bug: 287309 Change-Id: Ie86d5e214eeb2ea3041c3b89e52f1394bebe14dc
This commit is contained in:
parent
a04a1a1767
commit
40df86f710
@ -520,7 +520,7 @@ class ActionWorkflow(workflows.Workflow):
|
||||
slug = "action"
|
||||
name = _("Action Configuration")
|
||||
finalize_button_name = _("Save")
|
||||
success_message = _('Action file saved correctly.')
|
||||
success_message = _('Action queued correctly. It will appear soon')
|
||||
failure_message = _('Unable to save action file.')
|
||||
success_url = "horizon:disaster_recovery:actions:index"
|
||||
|
||||
|
@ -187,7 +187,7 @@ class ConfigureJob(workflows.Workflow):
|
||||
slug = "job"
|
||||
name = _("Job Configuration")
|
||||
finalize_button_name = _("Save")
|
||||
success_message = _('Job created correctly.')
|
||||
success_message = _('Job queued correctly. It will appear soon')
|
||||
failure_message = _('Unable to created job.')
|
||||
success_url = "horizon:disaster_recovery:jobs:index"
|
||||
default_steps = (InfoConfiguration,
|
||||
|
@ -107,8 +107,8 @@ class UpdateJob(workflows.Workflow):
|
||||
slug = "update_job"
|
||||
name = _("Update Job")
|
||||
finalize_button_name = _("Save")
|
||||
success_message = _('Job created correctly.')
|
||||
failure_message = _('Unable to created job.')
|
||||
success_message = _('Job updated correctly.')
|
||||
failure_message = _('Unable to update job.')
|
||||
success_url = "horizon:disaster_recovery:jobs:index"
|
||||
default_steps = (InfoConfiguration,)
|
||||
|
||||
|
@ -63,7 +63,7 @@ class AttachJobToSession(workflows.Workflow):
|
||||
slug = "attach_job"
|
||||
name = _("Attach To Session")
|
||||
finalize_button_name = _("Attach")
|
||||
success_message = _('Job saved successfully.')
|
||||
success_message = _('Job attached successfully.')
|
||||
failure_message = _('Unable to attach to session.')
|
||||
success_url = "horizon:disaster_recovery:jobs:index"
|
||||
default_steps = (SessionConfiguration,)
|
||||
|
@ -97,7 +97,7 @@ class CreateSession(workflows.Workflow):
|
||||
slug = "create_session"
|
||||
name = _("Create Session")
|
||||
finalize_button_name = _("Save")
|
||||
success_message = _('Session created successfully.')
|
||||
success_message = _('Session queued correctly. It will appear soon')
|
||||
failure_message = _('Unable to create session.')
|
||||
success_url = "horizon:disaster_recovery:sessions:index"
|
||||
default_steps = (SessionConfiguration,)
|
||||
|
Loading…
Reference in New Issue
Block a user