# HG changeset patch # User Katia Saurfelt # Date 1239782628 -7200 # Node ID 5f412bed692c8c0c8835c7d4555612355d2aa40c # Parent 01210bb805dc3461c7b82df1321369c0598c1d7d remove planned_delivery from ProgressTableView diff -r 01210bb805dc -r 5f412bed692c web/views/iprogress.py --- a/web/views/iprogress.py Tue Apr 14 12:14:59 2009 +0200 +++ b/web/views/iprogress.py Wed Apr 15 10:03:48 2009 +0200 @@ -40,7 +40,7 @@ accepts_interfaces = (IMileStone,) # default columns of the table - columns = (_('project'), _('milestone'), _('state'), _('eta_date'), _('planned_delivery'), + columns = (_('project'), _('milestone'), _('state'), _('eta_date'), _('cost'), _('progress'), _('todo_by')) @@ -134,12 +134,6 @@ formated_date = u'%s %s' % (_('expected:'), eta_date) return formated_date - def build_planned_delivery_cell(self, entity): - """``initial_prevision_date`` column cell renderer""" - if entity.finished(): - return self.format_date(entity.completion_date()) - return self.format_date(entity.initial_prevision_date()) - def build_todo_by_cell(self, entity): """``todo_by`` column cell renderer""" return u', '.join(p.view('outofcontext') for p in entity.contractors())