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: |