web/views/tableview.py
changeset 5467 57372dbfd114
parent 5444 f7fdb5dd82f6
child 5508 6718ba5db0eb
equal deleted inserted replaced
5466:b5af2ac0c43c 5467:57372dbfd114
   202         return [(showhide, showlabel, None, '%sShow' % divid),
   202         return [(showhide, showlabel, None, '%sShow' % divid),
   203                 (showhide, hidelabel, 'hidden', '%sHide' % divid)]
   203                 (showhide, hidelabel, 'hidden', '%sHide' % divid)]
   204 
   204 
   205     def render_actions(self, divid, actions):
   205     def render_actions(self, divid, actions):
   206         box = MenuWidget('', 'tableActionsBox', _class='', islist=False)
   206         box = MenuWidget('', 'tableActionsBox', _class='', islist=False)
   207         label = tags.img(src=self._cw.vreg.config.uiprops['PUCE_DOWN'],
   207         label = tags.img(src=self._cw.uiprops['PUCE_DOWN'],
   208                          alt=xml_escape(self._cw._('action(s) on this selection')))
   208                          alt=xml_escape(self._cw._('action(s) on this selection')))
   209         menu = PopupBoxMenu(label, isitem=False, link_class='actionsBox',
   209         menu = PopupBoxMenu(label, isitem=False, link_class='actionsBox',
   210                             ident='%sActions' % divid)
   210                             ident='%sActions' % divid)
   211         box.append(menu)
   211         box.append(menu)
   212         for url, label, klass, ident in actions:
   212         for url, label, klass, ident in actions: