Fix couple of bugs for vendor catalog views
No need to expose an "edit" mode for this batch since view allows refresh.
This commit is contained in:
parent
3b84a92d7d
commit
223a6dc862
|
@ -41,7 +41,7 @@
|
|||
|
||||
<%def name="grid_tools()">
|
||||
% if not batch.executed:
|
||||
<p>${h.link_to("Delete all rows matching current search", url('{}.rows.bulk_delete'.format(route_prefix), uuid=batch.uuid))}</p>
|
||||
<p>${h.link_to("Delete all rows matching current search", url('{}.delete_rows'.format(route_prefix), uuid=batch.uuid))}</p>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
|
1
tailbone/views/vendors/catalogs.py
vendored
1
tailbone/views/vendors/catalogs.py
vendored
|
@ -50,6 +50,7 @@ class VendorCatalogsView(FileBatchMasterView):
|
|||
model_row_class = model.VendorCatalogRow
|
||||
batch_handler_class = VendorCatalogHandler
|
||||
url_prefix = '/vendors/catalogs'
|
||||
editable = False
|
||||
|
||||
def get_parsers(self):
|
||||
if not hasattr(self, 'parsers'):
|
||||
|
|
Loading…
Reference in a new issue