diff options
| author | garbash <dor.garbash@gmail.com> | 2015-04-20 13:31:46 +0300 |
|---|---|---|
| committer | garbash <dor.garbash@gmail.com> | 2015-04-20 13:31:46 +0300 |
| commit | 11a9c68b8133266591eea1798c7d509e56f23bbb (patch) | |
| tree | a9cb358567fec6d8ffa2072fb77bb7a10519a571 /src/local | |
| parent | ab6baf21364f9e0e0f151d4bf991ef8a6050d668 (diff) | |
Added domain type for Descartes instance
Diffstat (limited to 'src/local')
| -rw-r--r-- | src/local/domain/descartes.rhizi.net/domain_types.js | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/local/domain/descartes.rhizi.net/domain_types.js b/src/local/domain/descartes.rhizi.net/domain_types.js new file mode 100644 index 00000000..fcaaa34b --- /dev/null +++ b/src/local/domain/descartes.rhizi.net/domain_types.js @@ -0,0 +1,55 @@ +define({ + type_attributes: [ + ['person', { + 'title': 'Person', + 'attributes': ['description', + 'email', + 'image-url', + 'name', + 'url' + ], + }], + ['beneficiary', { + 'title': 'Beneficiary', + 'attributes': ['description', 'url', 'image-url', 'email'], + }], + ['completed project', { + 'title': 'Completed project', + 'attributes': ['description', 'url', 'budget', 'total days','image-url'], + }], + ['ongoing project', { + 'title': 'Ongoing project project', + 'attributes': ['description', 'url', 'budget', 'total days','image-url'], + }], + ['future project', { + 'title': 'Future project', + 'attributes': ['description', 'url', 'budget', 'total days','image-url'], + }], + ['skill', { + 'title': 'Skill', + 'attributes': ['description', 'url', 'image-url'], + }] + ], + attribute_titles: { + 'description': 'Description', + 'email': 'Email', + 'name': 'Name', + 'type': 'Type', + 'url': 'URL', + 'image-url': 'Image URL', + 'rhizi-url': 'Rhizi URL', + 'total days': 'Total days', + 'budget': 'Budget', + }, + attribute_ui: { + 'description': 'textarea', + 'email': 'input', + 'name': 'input', + 'type': 'type', + 'image-url': 'image', + 'url': 'url', + 'rhizi-url': 'rhizi-url', + 'total days': 'input', + 'budget': 'input', + }, +}); |
