199 if facetsform and self.display_filter == 'top': |
199 if facetsform and self.display_filter == 'top': |
200 cssclass = u'hidden' if self.hide_filter else u'' |
200 cssclass = u'hidden' if self.hide_filter else u'' |
201 facetsform.render(w, vid=self.view.__regid__, cssclass=cssclass, |
201 facetsform.render(w, vid=self.view.__regid__, cssclass=cssclass, |
202 divid=self.view.domid) |
202 divid=self.view.domid) |
203 actions = [] |
203 actions = [] |
204 if self.add_view_actions: |
204 if self.display_actions: |
205 actions = self.view.table_actions() |
205 if self.add_view_actions: |
206 if self.display_filter and self.hide_filter and (facetsform or not generate_form): |
206 actions = self.view.table_actions() |
207 actions += self.show_hide_filter_actions(not generate_form) |
207 if self.display_filter and self.hide_filter and (facetsform or not generate_form): |
|
208 actions += self.show_hide_filter_actions(not generate_form) |
208 self.render_table(w, actions, self.view.paginable) |
209 self.render_table(w, actions, self.view.paginable) |
209 if facetsform and self.display_filter == 'bottom': |
210 if facetsform and self.display_filter == 'bottom': |
210 cssclass = u'hidden' if self.hide_filter else u'' |
211 cssclass = u'hidden' if self.hide_filter else u'' |
211 facetsform.render(w, vid=self.view.__regid__, cssclass=cssclass, |
212 facetsform.render(w, vid=self.view.__regid__, cssclass=cssclass, |
212 divid=self.view.domid) |
213 divid=self.view.domid) |