summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/local/domain/descartes.rhizi.net/domain_types.js55
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',
+ },
+});