From 11a9c68b8133266591eea1798c7d509e56f23bbb Mon Sep 17 00:00:00 2001 From: garbash Date: Mon, 20 Apr 2015 13:31:46 +0300 Subject: Added domain type for Descartes instance --- .../domain/descartes.rhizi.net/domain_types.js | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 src/local/domain/descartes.rhizi.net/domain_types.js (limited to 'src') 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', + }, +}); -- cgit v1.3.1