|
| 1 | +<?xml version="1.0"?> |
| 2 | +<registry |
| 3 | + xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
| 4 | + i18n:domain="imio.smartweb"> |
| 5 | + |
| 6 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSettingsSchema.clear_expiration_on_publish" |
| 7 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSettingsSchema" |
| 8 | + field="clear_expiration_on_publish"> |
| 9 | + <value>True</value> |
| 10 | + </record> |
| 11 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSettingsSchema.overwrite_expiration_on_retract" |
| 12 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSettingsSchema" |
| 13 | + field="overwrite_expiration_on_retract"> |
| 14 | + <value>True</value> |
| 15 | + </record> |
| 16 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSettingsSchema.dry_run" |
| 17 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSettingsSchema" |
| 18 | + field="dry_run"> |
| 19 | + <value>False</value> |
| 20 | + </record> |
| 21 | + |
| 22 | + <!-- Publishing complex record --> |
| 23 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification.publish_actions/r0.date_index" |
| 24 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification" |
| 25 | + field="date_index"> |
| 26 | + <field type="plone.registry.field.TextLine"> |
| 27 | + <default>effective</default> |
| 28 | + <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 29 | + ns0:domain="collective.autopublishing" |
| 30 | + ns0:translate="help_date_index">By default publishing date (the 'effective' index) is used for 'publish actions', and expiration date (the 'expires' index) is used for 'retract actions'. If a custom method is to be used for the date, enter index_id|object_method_id. If index_id = method_id just enter index_id.</description> |
| 31 | + <missing_value>effective</missing_value> |
| 32 | + <required>False</required> |
| 33 | + <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 34 | + ns0:domain="collective.autopublishing" |
| 35 | + ns0:translate="label_date_index">Transaction trigger date catalog index / method</title> |
| 36 | + </field> |
| 37 | + <value>effective</value> |
| 38 | + </record> |
| 39 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification.publish_actions/r0.initial_state" |
| 40 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification" |
| 41 | + field="initial_state"> |
| 42 | + <field type="plone.registry.field.TextLine"> |
| 43 | + <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 44 | + ns0:domain="collective.autopublishing" |
| 45 | + ns0:translate="label_initial_state">Initial workflow state</title> |
| 46 | + </field> |
| 47 | + <value>private</value> |
| 48 | + </record> |
| 49 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification.publish_actions/r0.portal_types" |
| 50 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification" |
| 51 | + field="portal_types"> |
| 52 | + <field type="plone.registry.field.Tuple"> |
| 53 | + <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 54 | + ns0:domain="collective.autopublishing" |
| 55 | + ns0:translate="help_ap_portaltypes">Content types this rule applies to.</description> |
| 56 | + <missing_value/> |
| 57 | + <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 58 | + ns0:domain="collective.autopublishing" |
| 59 | + ns0:translate="">Content types</title> |
| 60 | + <value_type type="plone.registry.field.Choice"> |
| 61 | + <vocabulary>plone.app.vocabularies.ReallyUserFriendlyTypes</vocabulary> |
| 62 | + </value_type> |
| 63 | + </field> |
| 64 | + <value> |
| 65 | + <element>Collection</element> |
| 66 | + <element>imio.smartweb.DirectoryView</element> |
| 67 | + <element>imio.smartweb.EventsView</element> |
| 68 | + <element>imio.smartweb.Folder</element> |
| 69 | + <element>imio.smartweb.NewsView</element> |
| 70 | + <element>imio.smartweb.Page</element> |
| 71 | + <element>imio.smartweb.PortalPage</element> |
| 72 | + <element>imio.smartweb.Procedure</element> |
| 73 | + </value> |
| 74 | + </record> |
| 75 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification.publish_actions/r0.transition" |
| 76 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification" |
| 77 | + field="transition"> |
| 78 | + <field type="plone.registry.field.TextLine"> |
| 79 | + <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 80 | + ns0:domain="collective.autopublishing" |
| 81 | + ns0:translate="label_transition">Transition from initial state</title> |
| 82 | + </field> |
| 83 | + <value>publish</value> |
| 84 | + </record> |
| 85 | + |
| 86 | + <!-- Retracting complex record --> |
| 87 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification.retract_actions/r0.date_index" |
| 88 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification" |
| 89 | + field="date_index"> |
| 90 | + <field type="plone.registry.field.TextLine"> |
| 91 | + <default>effective</default> |
| 92 | + <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 93 | + ns0:domain="collective.autopublishing" |
| 94 | + ns0:translate="help_date_index">By default publishing date (the 'effective' index) is used for 'publish actions', and expiration date (the 'expires' index) is used for 'retract actions'. If a custom method is to be used for the date, enter index_id|object_method_id. If index_id = method_id just enter index_id.</description> |
| 95 | + <missing_value>effective</missing_value> |
| 96 | + <required>False</required> |
| 97 | + <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 98 | + ns0:domain="collective.autopublishing" |
| 99 | + ns0:translate="label_date_index">Transaction trigger date catalog index / method</title> |
| 100 | + </field> |
| 101 | + <value>effective</value> |
| 102 | + </record> |
| 103 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification.retract_actions/r0.initial_state" |
| 104 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification" |
| 105 | + field="initial_state"> |
| 106 | + <field type="plone.registry.field.TextLine"> |
| 107 | + <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 108 | + ns0:domain="collective.autopublishing" |
| 109 | + ns0:translate="label_initial_state">Initial workflow state</title> |
| 110 | + </field> |
| 111 | + <value>published</value> |
| 112 | + </record> |
| 113 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification.retract_actions/r0.portal_types" |
| 114 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification" |
| 115 | + field="portal_types"> |
| 116 | + <field type="plone.registry.field.Tuple"> |
| 117 | + <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 118 | + ns0:domain="collective.autopublishing" |
| 119 | + ns0:translate="help_ap_portaltypes">Content types this rule applies to.</description> |
| 120 | + <missing_value/> |
| 121 | + <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 122 | + ns0:domain="collective.autopublishing" |
| 123 | + ns0:translate="">Content types</title> |
| 124 | + <value_type type="plone.registry.field.Choice"> |
| 125 | + <vocabulary>plone.app.vocabularies.ReallyUserFriendlyTypes</vocabulary> |
| 126 | + </value_type> |
| 127 | + </field> |
| 128 | + <value> |
| 129 | + <element>Collection</element> |
| 130 | + <element>imio.smartweb.DirectoryView</element> |
| 131 | + <element>imio.smartweb.EventsView</element> |
| 132 | + <element>imio.smartweb.Folder</element> |
| 133 | + <element>imio.smartweb.NewsView</element> |
| 134 | + <element>imio.smartweb.Page</element> |
| 135 | + <element>imio.smartweb.PortalPage</element> |
| 136 | + <element>imio.smartweb.Procedure</element> |
| 137 | + </value> |
| 138 | + </record> |
| 139 | + <record name="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification.retract_actions/r0.transition" |
| 140 | + interface="collective.autopublishing.browser.autopublishsettings.IAutopublishSpecification" |
| 141 | + field="transition"> |
| 142 | + <field type="plone.registry.field.TextLine"> |
| 143 | + <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" |
| 144 | + ns0:domain="collective.autopublishing" |
| 145 | + ns0:translate="label_transition">Transition from initial state</title> |
| 146 | + </field> |
| 147 | + <value>retract</value> |
| 148 | + </record> |
| 149 | + |
| 150 | +</registry> |
0 commit comments