Projet

Général

Profil

0001-wf-clarify-targetting-labels-for-actions-on-linked-f.patch

Paul Marillonnet, 07 décembre 2021 13:48

Télécharger (2,63 ko)

Voir les différences:

Subject: [PATCH] wf: clarify targetting labels for actions on linked
 forms/cards (#59348)

 wcs/wf/assign_carddata.py   | 4 ++--
 wcs/wf/edit_carddata.py     | 4 ++--
 wcs/wf/external_workflow.py | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
wcs/wf/assign_carddata.py
26 26
class AssignCarddataWorkflowStatusItem(CreateCarddataWorkflowStatusItem, ExternalWorkflowGlobalAction):
27 27
    description = _('Assign Card Data')
28 28
    key = 'assign_carddata'
29
    automatic_targetting = _('Assign linked cards')
30
    manual_targetting = _('Specify the identifier of the card which will be assigned')
29
    automatic_targetting = _('Assign cards linked to this form/card')
30
    manual_targetting = _('Specify the list of cards which will be assigned')
31 31
    always_show_user_fields = True
32 32
    allow_python = False
33 33

  
wcs/wf/edit_carddata.py
27 27
    key = 'edit_carddata'
28 28
    mappings_label = _('Mappings to card fields')
29 29
    accept_empty_value = True
30
    automatic_targetting = _('Action on linked cards')
31
    manual_targetting = _('Specify the identifier of the card on which the action will be applied')
30
    automatic_targetting = _('Action on cards linked to this form/card')
31
    manual_targetting = _('Specify the list of cards on which the action will be applied')
32 32

  
33 33
    @classmethod
34 34
    def is_available(cls, workflow=None):
wcs/wf/external_workflow.py
67 67
    description = _('External workflow')
68 68
    key = 'external_workflow_global_action'
69 69
    category = 'formdata-action'
70
    automatic_targetting = _('Action on linked cards/forms')
71
    manual_targetting = _('Specify the identifier of the card/form on which the action will be applied')
70
    automatic_targetting = _('Action on forms/cards linked to this form/card')
71
    manual_targetting = _('Specify the list of forms/cards on which the action will be applied')
72 72

  
73 73
    slug = None
74 74
    target_mode = None
75
-