web/views/baseviews.py
branchstable
changeset 7840 d6733436b0dd
parent 7836 0ada13ce2e16
child 7913 d0c6a7993cec
equal deleted inserted replaced
7839:daf46963f4fe 7840:d6733436b0dd
   685 
   685 
   686 class SecondaryView(EntityView):
   686 class SecondaryView(EntityView):
   687     __metaclass__ = class_deprecated
   687     __metaclass__ = class_deprecated
   688     __deprecation_warning__ = '[3.9] the secondary view is deprecated, use one of oneline/incontext/outofcontext'
   688     __deprecation_warning__ = '[3.9] the secondary view is deprecated, use one of oneline/incontext/outofcontext'
   689     __regid__ = 'secondary'
   689     __regid__ = 'secondary'
   690     title = _('secondary')
       
   691 
   690 
   692     def cell_call(self, row, col, **kwargs):
   691     def cell_call(self, row, col, **kwargs):
   693         entity = self.cw_rset.get_entity(row, col)
   692         entity = self.cw_rset.get_entity(row, col)
   694         self.w(u' ')
   693         self.w(u' ')
   695         self.wview('oneline', self.cw_rset, row=row, col=col)
   694         self.wview('oneline', self.cw_rset, row=row, col=col)