From 140b6845eb7eed74b4d63cbda4ad2c2afdfd65d4 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Tue, 5 May 2015 20:50:02 +0300 Subject: relocating domain fragments (slated to move again soon) --- .../descartes.rhizi.net/js/domain_types.js | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 res/domain-fragment.d/descartes.rhizi.net/js/domain_types.js (limited to 'res/domain-fragment.d/descartes.rhizi.net') 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' + }, + }); -- cgit v1.3.1