Logo Search packages:      
Sourcecode: zope-linguaplone version File versions

list zope-linguaplone-0.7::examples::LinguaItem::LinguaItem::actions [static]

Initial value:

[{ 'id': 'edit',
                 'name': 'Edit',
                 'action': 'string:${object_url}/base_edit',
                 'condition': 'python: object.isTranslatable() and object.isCanonical()',
                 'permissions': (CMFCorePermissions.ModifyPortalContent,),
                 },
               { 'id': 'translate',
                 'name': 'Edit',
                 'action': 'string:${object_url}/translate_item',
                 'condition': 'python: object.isTranslatable() and not object.isCanonical()',
                 'permissions': (CMFCorePermissions.ModifyPortalContent,),
                 },
               ]

Definition at line 36 of file LinguaItem.py.


Generated by  Doxygen 1.6.0   Back to index