Skip to content

Commit

Permalink
add portal action for magazine_import
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhardt committed Jan 5, 2024
1 parent 08fea78 commit 03ec136
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/recensio/plone/profiles/default/actions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
meta_type="Plone Actions Tool"
name="portal_actions"
>
<object meta_type="CMF Action Category"
name="object"
>
<object meta_type="CMF Action"
name="magazine_import"
i18n:domain="recensio"
>
<property name="title"
i18n:translate=""
>Import</property>
<property name="description"
i18n:translate=""
/>
<property name="url_expr">string:${globals_view/getCurrentFolderUrl}/magazine_import</property>
<property name="link_target" />
<property name="icon_expr" />
<property name="available_expr">python: object.portal_type in ['Issue', 'Volume']</property>
<property name="permissions">
<element value="Add portal content" />
</property>
<property name="visible">True</property>
</object>
</object>
</object>

0 comments on commit 03ec136

Please sign in to comment.