New batch system! Hopefully nothing else broke...
Attempt number 5,176 at a decent batch system, we'll see.
This commit is contained in:
parent
c4a19f279b
commit
b05f30d9fe
15 changed files with 1213 additions and 32 deletions
tailbone/templates/batch
12
tailbone/templates/batch/index.mako
Normal file
12
tailbone/templates/batch/index.mako
Normal file
|
@ -0,0 +1,12 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="/grid.mako" />
|
||||
|
||||
<%def name="title()">${batch_display_plural}</%def>
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
% if request.has_perm('{0}.create'.format(permission_prefix)):
|
||||
<li>${h.link_to("Create a new {0}".format(batch_display), url('{0}.create'.format(route_prefix)))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue