add categories to workflow items

This commit is contained in:
Frédéric Péters 2012-11-14 16:32:20 +01:00
parent 57d9c320fd
commit 315a95c410
4 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,7 @@ class AbeliumDominoRegisterFamilyWorkflowStatusItem(WorkflowStatusJumpItem):
status = None
description = N_('Abelium Domino: Register a Family')
key = 'abelium-domino-register-family'
category = ('aq-abelium', N_('Abelium'))
label = None
def render_as_line(self):

View File

@ -182,6 +182,8 @@ class AppointmentErrorPart(object):
class ClicRdvCreateAppointment(WorkflowStatusItem):
description = N_('Create a ClicRDV Appointment')
key = 'clicrdv-create'
category = ('aq-clicrdv', N_('ClicRDV'))
endpoint = False
var_firstname = None
@ -309,6 +311,8 @@ register_item_class(ClicRdvCreateAppointment)
class ClicRdvCancelAppointment(WorkflowStatusItem):
description = N_('Cancel a ClicRDV Appointment')
key = 'clicrdv-cancel'
category = ('aq-clicrdv', N_('ClicRDV'))
endpoint = False
status_on_success = None

View File

@ -17,6 +17,7 @@ class CivilNetConnectorWorkflowStatusItem(WorkflowStatusItem):
description = N_('Connector to CivilNet')
key = 'civilnet-connector'
endpoint = False
category = ('aq-civilnet', N_('CivilNet'))
url = None

View File

@ -182,6 +182,7 @@ class PaymentWorkflowStatusItem(WorkflowStatusItem):
description = N_('Payment Creation')
key = 'payment'
endpoint = False
category = ('aq-payment', N_('Payment'))
support_substitution_variables = True
subject = None
@ -272,6 +273,7 @@ class PaymentCancelWorkflowStatusItem(WorkflowStatusItem):
description = N_('Payment Cancel')
key = 'payment-cancel'
endpoint = False
category = ('aq-payment', N_('Payment'))
reason = None
regie_id = None
@ -402,6 +404,7 @@ class PaymentValidationWorkflowStatusItem(WorkflowStatusItem):
description = N_('Payment Validation')
key = 'payment-validation'
endpoint = False
category = ('aq-payment', N_('Payment'))
next_status = None