From 5ecd636b8104cbc7c20c68afedaaba68d0298d68 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 10 Apr 2015 17:55:03 +0200 Subject: 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). --- src/local/domain/default.rhizi.net/domain_types.js | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/local/domain/default.rhizi.net') 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', -- cgit v1.3.1