-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add portal action for magazine_import
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |