diff options
| author | garbash <dor.garbash@gmail.com> | 2015-04-28 12:11:14 +0300 |
|---|---|---|
| committer | garbash <dor.garbash@gmail.com> | 2015-04-28 12:11:14 +0300 |
| commit | 347e34221986507536ef85d61c5a3801f98596de (patch) | |
| tree | f3112bedf69dc00d733f5b93922b921eab04456c /src | |
| parent | 82e774d590933ead2dc3cf78503584de987b0711 (diff) | |
modified Default rhizi schema to make more sense
Diffstat (limited to 'src')
| -rw-r--r-- | src/local/domain/default.rhizi.net/domain_types.js | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/src/local/domain/default.rhizi.net/domain_types.js b/src/local/domain/default.rhizi.net/domain_types.js index 46279f7e..92227728 100644 --- a/src/local/domain/default.rhizi.net/domain_types.js +++ b/src/local/domain/default.rhizi.net/domain_types.js @@ -1,55 +1,54 @@ define({ type_attributes: [ - ['keyword', { - 'title': 'Keyword', - 'attributes': ['description', 'url'], - }], - ['person', { - 'title': 'Person', + ['collaborator', { + 'title': 'Collaborator', 'attributes': ['affiliation', - 'street-address', 'description', 'email', 'image-url', 'name', 'url' ], - }], + }], + ['keyword', { + 'title': 'Keyword', + 'attributes': ['description', 'url', 'image-url'], + }], ['project', { 'title': 'Project', - 'attributes': ['description', 'url'], + 'attributes': ['description', 'url', 'rhizi-url', 'image-url'], }], - ['project_component', { - 'title': 'Project Component', - 'attributes': ['description', 'url'], + ['idea', { + 'title': 'Idea', + 'attributes': ['description', 'url', 'image-url'], }], - ['objective', { - 'title': 'Objective', - 'attributes': ['description', 'url'], + ['skill', { + 'title': 'Skill', + 'attributes': ['description', 'url', 'image-url'], }], ['resource', { - 'title': 'Objective', - 'attributes': ['description', 'url'], + 'title': 'Resource', + 'attributes': ['description', 'url', 'image-url'], }] ], attribute_titles: { 'affiliation': 'Affiliation', 'description': 'Description', 'email': 'Email', - 'image-url': 'Image URL', 'name': 'Name', - 'street-address': 'Street Address', 'type': 'Type', 'url': 'URL', + 'image-url': 'Image URL', + 'rhizi-url': 'Rhizi URL', }, attribute_ui: { 'affiliation': 'textarea', 'description': 'textarea', 'email': 'input', - 'image-url': 'image', 'name': 'input', - 'street-address': 'textarea', 'type': 'type', + 'image-url': 'image', 'url': 'url', + 'rhizi-url': 'rhizi-url', }, }); |
