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/leap.rhizi.net/domain_types.js | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/local/domain/leap.rhizi.net') diff --git a/src/local/domain/leap.rhizi.net/domain_types.js b/src/local/domain/leap.rhizi.net/domain_types.js index af56acbc..7025c245 100644 --- a/src/local/domain/leap.rhizi.net/domain_types.js +++ b/src/local/domain/leap.rhizi.net/domain_types.js @@ -1,10 +1,6 @@ define({ - type_attributes: { - 'keyword': { - 'title': 'Keyword', - 'attributes': ['description', 'url'], - }, - 'collaborator': { + type_attributes: [ + ['collaborator', { 'title': 'Collaborator', 'attributes': ['affiliation', 'description', @@ -13,24 +9,28 @@ define({ 'name', 'url' ], - }, - 'project': { + }], + ['keyword', { + 'title': 'Keyword', + 'attributes': ['description', 'url'], + }], + ['project', { 'title': 'Project', 'attributes': ['description', 'url', 'rhizi-url'], - }, - 'idea': { + }], + ['idea', { 'title': 'Idea', 'attributes': ['description', 'url'], - }, - 'need': { + }], + ['need', { 'title': 'Need', 'attributes': ['description', 'url'], - }, - 'resource': { + }], + ['resource', { 'title': 'Resource', 'attributes': ['description', 'url'], - } - }, + }] + ], attribute_titles: { 'affiliation': 'Affiliation', 'description': 'Description', -- cgit v1.3.1