diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-08 01:09:41 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-09 06:39:23 +0300 |
| commit | 838671521ac7771cd1db2610e33a6fcbdf277c50 (patch) | |
| tree | dd1cbdd801a713dd08429fdae3cecaa3fbfdee90 /src/local | |
| parent | fc1165de6644f1f0c01be2ce623a9e658ed7c898 (diff) | |
default.rhizi.net domain_types: set as copy of leap
Diffstat (limited to 'src/local')
| -rw-r--r-- | src/local/domain/default.rhizi.net/domain_types.js | 76 |
1 files changed, 41 insertions, 35 deletions
diff --git a/src/local/domain/default.rhizi.net/domain_types.js b/src/local/domain/default.rhizi.net/domain_types.js index c8610aa9..50eb11a1 100644 --- a/src/local/domain/default.rhizi.net/domain_types.js +++ b/src/local/domain/default.rhizi.net/domain_types.js @@ -1,49 +1,55 @@ define({ type_attributes: { - 'internship': { - 'title': 'Internship', - 'attributes': - ['status', 'startdate', 'enddate', 'description', 'url', - 'internship-type', - 'facility', - 'facility-affiliation', - 'cnrs-inserm-unit-code', - 'street-address', - 'city', - 'country', - ], - }, - 'skill': { - 'title': 'Skill', - 'attributes': ['description', 'url'], - }, - 'interest': { - 'title': 'Interesst', + 'keyword': { + 'title': 'Keyword', 'attributes': ['description', 'url'], - }, + }, 'person': { 'title': 'Person', - 'attributes': ['description', 'url'], + 'attributes': ['affiliation', + 'street-address', + 'description', + 'email', + 'image-url', + 'name', + 'url' + ], }, - 'club': { - 'title': 'Club', + 'project': { + 'title': 'Project', + 'attributes': ['description', 'url'], + }, + 'project_component': { + 'title': 'Project Component', + 'attributes': ['description', 'url'], + }, + 'objective': { + 'title': 'Objective', + 'attributes': ['description', 'url'], + }, + 'outcome': { + 'title': 'Objective', 'attributes': ['description', 'url'], } }, attribute_titles: { + 'affiliation': 'Affiliation', + 'description': 'Description', + 'email': 'Email', + 'image-url': 'Image URL', 'name': 'Name', + 'street-address': 'Street Address', 'type': 'Type', - 'description': 'Description', 'url': 'URL', - 'status': 'Status', - 'startdate': 'Start Date', - 'enddate': 'End Date', - 'internship-type': 'Internship Type', - 'facility': 'Lab/Company', - 'facility-affiliation': 'Lab affiliation', - 'cnrs-inserm-unit-code': 'CNRS / INSERM unit code', - 'street-address': 'Street address', - 'city': 'City', - 'country': 'Country', - } + }, + attribute_ui: { + 'affiliation': 'textarea', + 'description': 'textarea', + 'email': 'input', + 'image-url': 'image', + 'name': 'input', + 'street-address': 'textarea', + 'type': 'type', + 'url': 'url', + }, }); |
