diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-10 17:55:03 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-10 18:14:47 +0200 |
| commit | 5ecd636b8104cbc7c20c68afedaaba68d0298d68 (patch) | |
| tree | 8e98744002e139f9cfc6a7255033f5a54c2f2a09 /src/local/domain/default.rhizi.net | |
| parent | c50c2a32f4f81f47f37397b6091d978587bd1bf7 (diff) | |
client: domain type_attributes are now a list for ordering
First type is default, and order is for shift-up/down selection, filter
menu and type drop down in properties menu (so, basically everywhere).
Diffstat (limited to 'src/local/domain/default.rhizi.net')
| -rw-r--r-- | src/local/domain/default.rhizi.net/domain_types.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/local/domain/default.rhizi.net/domain_types.js b/src/local/domain/default.rhizi.net/domain_types.js index 4daa17cc..46279f7e 100644 --- a/src/local/domain/default.rhizi.net/domain_types.js +++ b/src/local/domain/default.rhizi.net/domain_types.js @@ -1,10 +1,10 @@ define({ - type_attributes: { - 'keyword': { + type_attributes: [ + ['keyword', { 'title': 'Keyword', 'attributes': ['description', 'url'], - }, - 'person': { + }], + ['person', { 'title': 'Person', 'attributes': ['affiliation', 'street-address', @@ -14,24 +14,24 @@ define({ 'name', 'url' ], - }, - 'project': { + }], + ['project', { 'title': 'Project', 'attributes': ['description', 'url'], - }, - 'project_component': { + }], + ['project_component', { 'title': 'Project Component', 'attributes': ['description', 'url'], - }, - 'objective': { + }], + ['objective', { 'title': 'Objective', 'attributes': ['description', 'url'], - }, - 'resource': { + }], + ['resource', { 'title': 'Objective', 'attributes': ['description', 'url'], - } - }, + }] + ], attribute_titles: { 'affiliation': 'Affiliation', 'description': 'Description', |
