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) --- res/domain-fragment.d/default/js/domain_types.js | 58 ++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 res/domain-fragment.d/default/js/domain_types.js (limited to 'res/domain-fragment.d/default/js') diff --git a/res/domain-fragment.d/default/js/domain_types.js b/res/domain-fragment.d/default/js/domain_types.js new file mode 100644 index 00000000..f4ca18f2 --- /dev/null +++ b/res/domain-fragment.d/default/js/domain_types.js @@ -0,0 +1,58 @@ +define({ + type_attributes: [ + ['collaborator', { + 'title': 'Collaborator', + 'attributes': ['affiliation', + 'description', + 'email', + 'image-url', + 'name', + 'url' + ], + }], + ['keyword', { + 'title': 'Keyword', + 'attributes': ['description', 'url', 'image-url'], + }], + ['project', { + 'title': 'Project', + 'attributes': ['description', 'url', 'rhizi-url', 'image-url'], + }], + ['idea', { + 'title': 'Idea', + 'attributes': ['description', 'url', 'image-url'], + }], + ['skill', { + 'title': 'Skill', + 'attributes': ['description', 'url', 'image-url'], + }], + ['resource', { + 'title': 'Resource', + 'attributes': ['description', 'url', 'image-url'], + }] + ], + attribute_titles: { + 'affiliation': 'Affiliation', + 'description': 'Description', + 'email': 'Email', + 'name': 'Name', + 'type': 'Type', + 'url': 'URL', + 'image-url': 'Image URL', + 'rhizi-url': 'Rhizi URL', + }, + attribute_ui: { + 'affiliation': 'textarea', + 'description': 'textarea', + 'email': 'input', + 'name': 'input', + 'type': 'type', + 'image-url': 'image', + 'url': 'url', + 'rhizi-url': 'rhizi-url', + }, + misc: { + // [!] direction of item info box only right now. should be per client. + 'direction': 'rtl' + } +}); -- cgit v1.3.1