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]
# default setting with visible columns, order of the col, and their size
CONFIGSETTINGS = (
('columns.visible', [COL_DESCR, COL_ID, COL_TYPE, COL_DATE, COL_PLACE]),
('columns.rank', [COL_DESCR, COL_ID, COL_TYPE, COL_PARTIC, COL_DATE,
COL_PLACE, COL_CHAN]),
('columns.size', [200, 75, 100, 230, 150, 200, 100])
('columns.visible', [COL_TYPE, COL_PARTIC, COL_DATE, COL_PLACE,
COL_DESCR, COL_ID]),
('columns.rank', [COL_TYPE, COL_PARTIC, COL_DATE, COL_PLACE, COL_DESCR,
COL_ID, COL_CHAN]),
('columns.size', [100, 230, 150, 200, 100, 75, 100])
)
ADD_MSG = _("Add a new event")
EDIT_MSG = _("Edit the selected event")