Skip to content

Commit

Permalink
Format xml using zpretty.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jul 9, 2020
1 parent 575e6c8 commit be813b0
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 34 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Changelog
- Remove bootstrap.py
- Format code according to Plone standards: black, isort.
Format zcml using zpretty.
Format xml using zpretty.
[thet]

- update to build on Plone 5.1 latest
Expand Down
26 changes: 16 additions & 10 deletions src/plone/app/workflowmanager/profiles/default/controlpanel.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
<?xml version="1.0"?>
<object name="portal_controlpanel"
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
meta_type="Plone Control Panel Tool"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="plone.app.workflowmanager">
name="portal_controlpanel"
i18n:domain="plone.app.workflowmanager"
>

<configlet title="Workflow Manager" action_id="workflowmanager"
appId="plone.app.workflowmanager" category="Plone" condition_expr=""
url_expr="string:${portal_url}/@@workflowmanager"
icon_expr="string:"
visible="True" i18n:attributes="title">
<configlet action_id="workflowmanager"
appId="plone.app.workflowmanager"
category="Plone"
condition_expr=""
icon_expr="string:"
title="Workflow Manager"
url_expr="string:${portal_url}/@@workflowmanager"
visible="True"
i18n:attributes="title"
>
<permission>plone.app.workflowmanager: Manage Workflows</permission>
</configlet>
</object>

</object>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<metadata>
<version>1</version>
<dependencies>
<dependency>profile-plone.app.jquerytools:default</dependency>
<dependency>profile-plone.app.jquerytools:default</dependency>
</dependencies>
</metadata>
14 changes: 7 additions & 7 deletions src/plone/app/workflowmanager/profiles/default/registry.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<registry>

<record name="plone.app.workflowmanager.layouts">
<field type="plone.registry.field.Dict">
<title>Layouts</title>
<key_type type="plone.registry.field.TextLine" />
<value_type type="plone.registry.field.Text" />
</field>
</record>
<record name="plone.app.workflowmanager.layouts">
<field type="plone.registry.field.Dict">
<title>Layouts</title>
<key_type type="plone.registry.field.TextLine" />
<value_type type="plone.registry.field.Text" />
</field>
</record>
</registry>
25 changes: 16 additions & 9 deletions src/plone/app/workflowmanager/profiles/uninstall/controlpanel.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
<?xml version="1.0"?>
<object name="portal_controlpanel"
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
meta_type="Plone Control Panel Tool"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="plone.app.workflowmanager">
name="portal_controlpanel"
i18n:domain="plone.app.workflowmanager"
>

<configlet remove="True" title="Workflow Manager" action_id="workflowmanager"
appId="plone.app.workflowmanager" category="Plone" condition_expr=""
url_expr="string:${portal_url}/@@workflowmanager"
icon_expr="string:"
visible="True" i18n:attributes="title">
<configlet action_id="workflowmanager"
appId="plone.app.workflowmanager"
category="Plone"
condition_expr=""
icon_expr="string:"
remove="True"
title="Workflow Manager"
url_expr="string:${portal_url}/@@workflowmanager"
visible="True"
i18n:attributes="title"
>
<permission>plone.app.workflowmanager: Manage Workflows</permission>
</configlet>

</object>
</object>
16 changes: 9 additions & 7 deletions src/plone/app/workflowmanager/profiles/uninstall/registry.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<registry>
<record remove="True" name="plone.app.workflowmanager.layouts">
<field type="plone.registry.field.Dict">
<title>Layouts</title>
<key_type type="plone.registry.field.TextLine" />
<value_type type="plone.registry.field.Text" />
</field>
</record>
<record name="plone.app.workflowmanager.layouts"
remove="True"
>
<field type="plone.registry.field.Dict">
<title>Layouts</title>
<key_type type="plone.registry.field.TextLine" />
<value_type type="plone.registry.field.Text" />
</field>
</record>
</registry>

0 comments on commit be813b0

Please sign in to comment.