diff --git a/master/bt5/slapos_panel/ActionTemplateItem/portal_types/Project/jump_to_slapos_compute_node.xml b/master/bt5/slapos_panel/ActionTemplateItem/portal_types/Project/jump_to_slapos_compute_node.xml new file mode 100644 index 0000000000000000000000000000000000000000..228205c71181e2a4aae610ddd6ad2ce04c8b1563 --- /dev/null +++ b/master/bt5/slapos_panel/ActionTemplateItem/portal_types/Project/jump_to_slapos_compute_node.xml @@ -0,0 +1,85 @@ +<?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_jump</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_jio_jump</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </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>jump_to_slapos_compute_node</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>19.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Compute Nodes</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 encoding="cdata"><![CDATA[ + +string:${object_url}/Base_jumpToRelatedObject?base_category=follow_up&portal_type=Compute+Node + +]]></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 9fcb113fdec25e98592809cda452527a50fbad47..1b6887828971f767530f968186814fe5a9dd187d 100644 --- a/master/bt5/slapos_panel/bt/template_action_path_list +++ b/master/bt5/slapos_panel/bt/template_action_path_list @@ -16,6 +16,7 @@ Mail Message | slapos_panel_view Project Module | slapos_panel_view Project | add_slapos_compute_node Project | add_slapos_software_product +Project | jump_to_slapos_compute_node Project | jump_to_slapos_software_product Project | request_slapos_instance_tree Project | slapos_panel_view