7342: Update default columns in event view

Add main participant.
Change order to be consistent with selector.
This commit is contained in:
Nick Hall 2014-02-28 12:52:28 +00:00
parent 591263e4bb
commit da3bff2ec4

View File

@ -90,10 +90,11 @@ class EventView(ListView):
MARKUP_COLS = [COL_DATE] MARKUP_COLS = [COL_DATE]
# default setting with visible columns, order of the col, and their size # default setting with visible columns, order of the col, and their size
CONFIGSETTINGS = ( CONFIGSETTINGS = (
('columns.visible', [COL_DESCR, COL_ID, COL_TYPE, COL_DATE, COL_PLACE]), ('columns.visible', [COL_TYPE, COL_PARTIC, COL_DATE, COL_PLACE,
('columns.rank', [COL_DESCR, COL_ID, COL_TYPE, COL_PARTIC, COL_DATE, COL_DESCR, COL_ID]),
COL_PLACE, COL_CHAN]), ('columns.rank', [COL_TYPE, COL_PARTIC, COL_DATE, COL_PLACE, COL_DESCR,
('columns.size', [200, 75, 100, 230, 150, 200, 100]) COL_ID, COL_CHAN]),
('columns.size', [100, 230, 150, 200, 100, 75, 100])
) )
ADD_MSG = _("Add a new event") ADD_MSG = _("Add a new event")
EDIT_MSG = _("Edit the selected event") EDIT_MSG = _("Edit the selected event")