web/views/tableview.py
branchstable
changeset 3842 66f3ed1703d0
parent 3807 8ae53322ffcc
child 3890 d7a270f50f54
child 4212 ab6573088b4a
equal deleted inserted replaced
3841:b2598c9eeffc 3842:66f3ed1703d0
   179         return [(showhide, showlabel, None, '%sShow' % divid),
   179         return [(showhide, showlabel, None, '%sShow' % divid),
   180                 (showhide, hidelabel, 'hidden', '%sHide' % divid)]
   180                 (showhide, hidelabel, 'hidden', '%sHide' % divid)]
   181 
   181 
   182     def render_actions(self, divid, actions):
   182     def render_actions(self, divid, actions):
   183         box = MenuWidget('', 'tableActionsBox', _class='', islist=False)
   183         box = MenuWidget('', 'tableActionsBox', _class='', islist=False)
   184         label = tags.img(src=self.req.external_resource('PUCE_UP'),
   184         label = tags.img(src=self.req.external_resource('PUCE_DOWN'),
   185                          alt=xml_escape(self.req._('action(s) on this selection')))
   185                          alt=xml_escape(self.req._('action(s) on this selection')))
   186         menu = PopupBoxMenu(label, isitem=False, link_class='actionsBox',
   186         menu = PopupBoxMenu(label, isitem=False, link_class='actionsBox',
   187                             ident='%sActions' % divid)
   187                             ident='%sActions' % divid)
   188         box.append(menu)
   188         box.append(menu)
   189         for url, label, klass, ident in actions:
   189         for url, label, klass, ident in actions: