source: products/quintagroup.plonetabs/branches/tests/quintagroup/plonetabs/tests/data.py

Last change on this file was 775, checked in by piv, 17 years ago

corrected installation script with adding property fields

File size: 1.8 KB
Line 
1PORTAL_ACTIONS = (
2    ('portal_tabs', {
3        'children': (
4            ('home', {
5                'title': 'Our home',
6                'description': 'The most important place',
7                'i18n_domain': 'quintagroup.plonetabs',
8                'url_expr': 'string:${globals_view/navigationRootUrl}',
9                'icon_expr': '',
10                'available_expr': '',
11                'permissions': ('View',),
12                'visible': True,
13                'type': 'action',
14            }),
15            ('quintagroup', {
16                'title': 'Quintagroup',
17                'description': 'Quintagroup.com',
18                'i18n_domain': 'quintagroup.plonetabs',
19                'url_expr': 'string:http://quintagroup.com',
20                'icon_expr': '',
21                'available_expr': '',
22                'permissions': ('View',),
23                'visible': True,
24                'type': 'action',
25            }),
26        ),
27        'type': 'category',
28    }),
29    ('new_category', {
30        'children': (
31            ('one', {
32                'title': 'First action',
33                'description': 'From the very beginning',
34                'i18n_domain': 'quintagroup.plonetabs',
35                'url_expr': 'string:${globals_view/navigationRootUrl}',
36                'icon_expr': '',
37                'available_expr': '',
38                'permissions': ('View',),
39                'visible': True,
40                'type': 'action',
41            }),
42        ),
43        'type': 'category',
44    }),
45)
46
47PORTAL_CONTENT = (
48    ('folder1', {
49        'Title': 'Folder #1',
50        'Description': 'Folder #1 description',
51        'children': (),
52        'type': 'Folder',
53    }),
54    ('document1', {
55        'Title': 'Document #1',
56        'Description': 'Document #1 description',
57        'text': 'Document #1 body text',
58        'type': 'Document',
59    }),
60)
Note: See TracBrowser for help on using the repository browser.