More python 3 tweaks
This commit is contained in:
parent
f411dcde24
commit
2ab00bfd78
2 changed files with 5 additions and 2 deletions
|
@ -531,7 +531,7 @@ class BatchMasterView(MasterView):
|
|||
def make_batch_row_grid_tools(self, batch):
|
||||
if self.rows_bulk_deletable and not batch.executed and self.request.has_perm('{}.delete_rows'.format(self.get_permission_prefix())):
|
||||
url = self.request.route_url('{}.delete_rows'.format(self.get_route_prefix()), uuid=batch.uuid)
|
||||
return HTML.tag('p', c=tags.link_to("Delete all rows matching current search", url))
|
||||
return HTML.tag('p', c=[tags.link_to("Delete all rows matching current search", url)])
|
||||
|
||||
def make_row_grid_tools(self, batch):
|
||||
return (self.make_default_row_grid_tools(batch) or '') + (self.make_batch_row_grid_tools(batch) or '')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue