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/cri.rhizi.net/domain_types.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/local/domain/cri.rhizi.net') diff --git a/src/local/domain/cri.rhizi.net/domain_types.js b/src/local/domain/cri.rhizi.net/domain_types.js index c8610aa9..7f3ff6f8 100644 --- a/src/local/domain/cri.rhizi.net/domain_types.js +++ b/src/local/domain/cri.rhizi.net/domain_types.js @@ -1,6 +1,6 @@ define({ - type_attributes: { - 'internship': { + type_attributes: [ + ['internship', { 'title': 'Internship', 'attributes': ['status', 'startdate', 'enddate', 'description', 'url', @@ -12,24 +12,24 @@ define({ 'city', 'country', ], - }, - 'skill': { + }], + ['skill', { 'title': 'Skill', 'attributes': ['description', 'url'], - }, - 'interest': { + }], + ['interest', { 'title': 'Interesst', 'attributes': ['description', 'url'], - }, - 'person': { + }], + ['person', { 'title': 'Person', 'attributes': ['description', 'url'], - }, - 'club': { + }], + ['club', { 'title': 'Club', 'attributes': ['description', 'url'], - } - }, + }] + ], attribute_titles: { 'name': 'Name', 'type': 'Type', -- cgit v1.3.1