web/views/tableview.py
changeset 8007 dfbf0c43ee13
parent 8006 32d7682991ce
child 8009 75638a6ff159
equal deleted inserted replaced
8006:32d7682991ce 8007:dfbf0c43ee13
   292             c1, d1 = 'hidden', '%sShow' % divid
   292             c1, d1 = 'hidden', '%sShow' % divid
   293             c2, d2 = None, '%sHide' % divid
   293             c2, d2 = None, '%sHide' % divid
   294         else:
   294         else:
   295             c1, d1 = None, '%sShow' % divid
   295             c1, d1 = None, '%sShow' % divid
   296             c2, d2 = 'hidden', '%sHide' % divid
   296             c2, d2 = 'hidden', '%sHide' % divid
   297         return [component.Link(showhide, showlabel, klass=c1, ident=d1),
   297         return [component.Link(showhide, showlabel, klass=c1, id=d1),
   298                 component.Link(showhide, hidelabel, klass=c2, ident=d2)]
   298                 component.Link(showhide, hidelabel, klass=c2, id=d2)]
   299 
   299 
   300 
   300 
   301 class AbstractColumnRenderer(object):
   301 class AbstractColumnRenderer(object):
   302     """Abstract base class for column renderer. Interface of a column renderer follows:
   302     """Abstract base class for column renderer. Interface of a column renderer follows:
   303 
   303