File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
src/WorkflowGui/Resources
public/js/pimcore/workflow Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,22 @@ pimcore.plugin.workflow.transition_notification = Class.create({
131131 } ,
132132 this . getUserCombobox ( notification . get ( 'notifyUsers' ) ) ,
133133 this . getRolesCombobox ( notification . get ( 'notifyRoles' ) ) ,
134+ {
135+ xtype : 'multiselect' ,
136+ fieldLabel : t ( 'workflow_transition_notification_channel_types' ) ,
137+ name : 'channelType' ,
138+ store : Ext . data . ArrayStore ( {
139+ fields : [ 'type' ] ,
140+ data : [
141+ [ 'mail' ] ,
142+ [ 'pimcore_notification' ] ,
143+ ]
144+ } ) ,
145+ value : notification . get ( 'channelType' ) ? notification . get ( 'channelType' ) : 'mail' ,
146+ displayField : 'type' ,
147+ valueField : 'type' ,
148+ allowBlank : false
149+ } ,
134150 {
135151 xtype : 'combobox' ,
136152 fieldLabel : t ( 'workflow_transition_notification_mail_type' ) ,
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ workflow_transition_change_publish_state: 'Change Publish State'
6262workflow_transition_notifications : ' Notifications'
6363workflow_transition_notification : ' Notification'
6464workflow_transition_notification_condition : ' Condition'
65+ workflow_transition_notification_channel_types : ' Channel Types'
6566workflow_transition_notification_mail_type : ' Mail Type'
6667workflow_transition_notification_mail_path : ' Mail Path'
6768workflow_transition_notification_notify_users : ' Notify Users'
You can’t perform that action at this time.
0 commit comments