summaryrefslogtreecommitdiff
path: root/res/local/js/domain_types.js
blob: f4ca18f28622646c2abdaf18f0c268b010aac537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
define({
    type_attributes: [
        ['collaborator', {
            'title': 'Collaborator',
            'attributes': ['affiliation',
                           'description',
                           'email',
                           'image-url',
                           'name',
                           'url'
                           ],
        }],
        ['keyword', {
            'title': 'Keyword',
            'attributes': ['description', 'url', 'image-url'],
        }],
        ['project', {
            'title': 'Project',
            'attributes': ['description', 'url', 'rhizi-url', 'image-url'],
        }],
        ['idea', {
            'title': 'Idea',
            'attributes': ['description', 'url', 'image-url'],
        }],
        ['skill', {
            'title': 'Skill',
            'attributes': ['description', 'url', 'image-url'],
        }],
        ['resource', {
            'title': 'Resource',
            'attributes': ['description', 'url', 'image-url'],
        }]
    ],
    attribute_titles: {
        'affiliation': 'Affiliation',
        'description': 'Description',
        'email': 'Email',
        'name': 'Name',
        'type': 'Type',
        'url': 'URL',
        'image-url': 'Image URL',
        'rhizi-url': 'Rhizi URL',
    },
    attribute_ui: {
        'affiliation': 'textarea',
        'description': 'textarea',
        'email': 'input',
        'name': 'input',
        'type': 'type',
        'image-url': 'image',
        'url': 'url',
        'rhizi-url': 'rhizi-url',
    },
    misc: {
        // [!] direction of item info box only right now. should be per client.
        'direction': 'rtl'
    }
});