equal
deleted
inserted
replaced
94 |
94 |
95 column_renderers = { |
95 column_renderers = { |
96 'resource': MainEntityColRenderer(), |
96 'resource': MainEntityColRenderer(), |
97 'workpackage': EntityTableColRenderer( |
97 'workpackage': EntityTableColRenderer( |
98 header='Workpackage', |
98 header='Workpackage', |
99 renderfunc=worpackage_cell, |
99 renderfunc=workpackage_cell, |
100 sortfunc=worpackage_sortvalue,), |
100 sortfunc=workpackage_sortvalue,), |
101 'in_state': EntityTableColRenderer( |
101 'in_state': EntityTableColRenderer( |
102 renderfunc=lambda w,x: w(x.cw_adapt_to('IWorkflowable').printable_state), |
102 renderfunc=lambda w,x: w(x.cw_adapt_to('IWorkflowable').printable_state), |
103 sortfunc=lambda x: x.cw_adapt_to('IWorkflowable').printable_state), |
103 sortfunc=lambda x: x.cw_adapt_to('IWorkflowable').printable_state), |
104 } |
104 } |
105 |
105 |