Various tweaks for support of native inventory
certaianly some other things made it in here too..
This commit is contained in:
parent
eb68eec520
commit
61d504afb8
11 changed files with 129 additions and 16 deletions
|
@ -8,7 +8,7 @@
|
|||
## ##############################################################################
|
||||
<%inherit file="/base.mako" />
|
||||
|
||||
<%def name="title()">${model_title_plural}</%def>
|
||||
<%def name="title()">${index_title}</%def>
|
||||
|
||||
<%def name="extra_javascript()">
|
||||
${parent.extra_javascript()}
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
|
||||
<%def name="title()">${model_title}</%def>
|
||||
|
||||
<%def name="content_title()">
|
||||
<h1>Row ${instance.sequence}</h1>
|
||||
</%def>
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
<li>${h.link_to("Back to {}".format(parent_model_title), index_url)}</li>
|
||||
% if master.rows_editable and instance_editable and request.has_perm('{}.edit'.format(permission_prefix)):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue