summaryrefslogtreecommitdiff
path: root/res/domain-fragment.d/descartes.rhizi.net
diff options
context:
space:
mode:
Diffstat (limited to 'res/domain-fragment.d/descartes.rhizi.net')
-rw-r--r--res/domain-fragment.d/descartes.rhizi.net/js/domain_types.js47
1 files changed, 47 insertions, 0 deletions
diff --git a/res/domain-fragment.d/descartes.rhizi.net/js/domain_types.js b/res/domain-fragment.d/descartes.rhizi.net/js/domain_types.js
new file mode 100644
index 00000000..0a9f1409
--- /dev/null
+++ b/res/domain-fragment.d/descartes.rhizi.net/js/domain_types.js
@@ -0,0 +1,47 @@
+define({
+ type_attributes:[
+ ['person', {
+ 'title':'Personne',
+ 'attributes': ['description',
+ 'email',
+ 'image-url',
+ 'name',
+ 'url'
+ ],
+ }],
+ ['resource', {
+ 'title':'Organisation',
+ 'attributes':['description', 'url', 'image-url', 'email'],
+ }],
+ ['project', {
+ 'title':'Projet',
+ 'attributes':['description', 'status', 'url', 'budget', 'total days','image-url'],
+ }],
+ ['skill', {
+ 'title':'Compétence',
+ 'attributes':['description', 'url', 'image-url'],
+ }]
+ ],
+ attribute_titles:{
+ 'description':'Description',
+ 'email':'Email',
+ 'name':'Nom',
+ 'type':'Type',
+ 'url':'URL',
+ 'image-url':'Image URL',
+ 'total days':'Jours travaillés',
+ 'budget':'Budget en k€',
+ 'status':'Statut'
+ },
+ attribute_ui:{
+ 'description':'textarea',
+ 'email':'input',
+ 'name':'input',
+ 'type':'type',
+ 'image-url':'image',
+ 'url':'url',
+ 'total days':'total days',
+ 'budget':'input',
+ 'status':'input'
+ },
+ });