[3689] | 1 | <?xml version="1.0"?> |
---|
| 2 | <object name="additem_portlet" meta_type="CPS Layout"> |
---|
| 3 | <property name="layout_create_method"></property> |
---|
| 4 | <property name="layout_edit_method"></property> |
---|
| 5 | <property name="layout_view_method"></property> |
---|
| 6 | <property name="style_prefix">layout_portlet_</property> |
---|
| 7 | <property name="flexible_widgets"/> |
---|
| 8 | <property name="validate_values_expr"></property> |
---|
| 9 | <widget name="display" meta_type="Select Widget"> |
---|
| 10 | <property name="fields"> |
---|
| 11 | <element value="display"/> |
---|
| 12 | </property> |
---|
| 13 | <property name="label_edit">cpsportlets_display_mode_label</property> |
---|
| 14 | <property name="help">cpsportlets_display_mode_help</property> |
---|
| 15 | <property name="is_i18n">True</property> |
---|
| 16 | <property name="hidden_layout_modes"> |
---|
| 17 | <element value="view"/> |
---|
| 18 | </property> |
---|
| 19 | <property name="vocabulary">cpsportlets_additem_display_voc</property> |
---|
| 20 | <property name="translated">True</property> |
---|
| 21 | </widget> |
---|
| 22 | <widget name="portlet" meta_type="Generic Portlet Widget"> |
---|
| 23 | <property name="fields"> |
---|
| 24 | <element value="portlet"/> |
---|
| 25 | </property> |
---|
| 26 | <property name="readonly_layout_modes"/> |
---|
| 27 | <property name="hidden_layout_modes"> |
---|
| 28 | <element value="edit"/> |
---|
| 29 | </property> |
---|
| 30 | <property name="hidden_readonly_layout_modes"/> |
---|
| 31 | <property name="render_method">widget_portlet_additem</property> |
---|
| 32 | </widget> |
---|
| 33 | <widget name="show_icons" meta_type="Boolean Widget"> |
---|
| 34 | <property name="fields"> |
---|
| 35 | <element value="show_icons"/> |
---|
| 36 | </property> |
---|
| 37 | <property name="label_edit">cpsportlets_additem_show_icons_label</property> |
---|
| 38 | <property name="is_i18n">True</property> |
---|
| 39 | <property name="readonly_layout_modes"/> |
---|
| 40 | <property name="hidden_layout_modes"> |
---|
| 41 | <element value="view"/> |
---|
| 42 | </property> |
---|
| 43 | <property name="hidden_readonly_layout_modes"/> |
---|
| 44 | <property |
---|
| 45 | name="hidden_if_expr">python: context.display not in ['standard_menu']</property> |
---|
| 46 | </widget> |
---|
| 47 | <table> |
---|
| 48 | <row> |
---|
| 49 | <cell name="portlet"/> |
---|
| 50 | </row> |
---|
| 51 | <row> |
---|
| 52 | <cell name="display"/> |
---|
| 53 | </row> |
---|
| 54 | <row> |
---|
| 55 | <cell name="show_icons"/> |
---|
| 56 | </row> |
---|
| 57 | </table> |
---|
| 58 | </object> |
---|