diff --git a/master/bt5/slapos_panel/ActionTemplateItem/portal_types/Subscription%20Request/add_slapos_event.xml b/master/bt5/slapos_panel/ActionTemplateItem/portal_types/Subscription%20Request/add_slapos_event.xml new file mode 100644 index 0000000000000000000000000000000000000000..a199b0df7f5c3c669c91e64728c1f8431f0aa058 --- /dev/null +++ b/master/bt5/slapos_panel/ActionTemplateItem/portal_types/Subscription%20Request/add_slapos_event.xml @@ -0,0 +1,100 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>action_type/object_jio_fast_input</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_jio_fast_input</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>add_slapos_event</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Action Information</string> </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>0.5</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Add Event</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Ticket_viewSlapOSEventFastInputDialog</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python: context.Base_hasSlapOSProjectUserGroup(project_relation=\'source_project\', manager=True, agent=True, customer=True)</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/master/bt5/slapos_panel/bt/template_action_path_list b/master/bt5/slapos_panel/bt/template_action_path_list index 237dd47d6e5243d6cf33393eb7d2fa3914aed59a..6d99926eeda5e3fd74324b63b1b7b24afde424d5 100644 --- a/master/bt5/slapos_panel/bt/template_action_path_list +++ b/master/bt5/slapos_panel/bt/template_action_path_list @@ -100,6 +100,7 @@ Software Product | slapos_panel_view Software Release Module | slapos_panel_view Software Release | slapos_panel_view Subscription Request Module | slapos_panel_view +Subscription Request | add_slapos_event Subscription Request | change_slapos_submitted_price Subscription Request | jump_pay_my_slapos_sale_invoice_transaction Subscription Request | slapos_panel_view