web/views/workflow.py
changeset 2506 965d5e1557ed
parent 2487 c4c13cf8cd7b
child 2680 66472d85d548
equal deleted inserted replaced
2505:5d7d4af9eadf 2506:965d5e1557ed
   115 class CellView(view.EntityView):
   115 class CellView(view.EntityView):
   116     id = 'cell'
   116     id = 'cell'
   117     __select__ = implements('TrInfo')
   117     __select__ = implements('TrInfo')
   118 
   118 
   119     def cell_call(self, row, col, cellvid=None):
   119     def cell_call(self, row, col, cellvid=None):
   120         self.w(self.entity(row, col).printable_value('comment'))
   120         self.w(self.entity(row, col).view('reledit', rtype='comment'))
   121 
   121 
   122 
   122 
   123 class StateInContextView(view.EntityView):
   123 class StateInContextView(view.EntityView):
   124     """convenience trick, State's incontext view should not be clickable"""
   124     """convenience trick, State's incontext view should not be clickable"""
   125     id = 'incontext'
   125     id = 'incontext'