Various tweaks for support of native inventory

certaianly some other things made it in here too..
This commit is contained in:
Lance Edgar 2017-07-19 01:42:18 -05:00
parent eb68eec520
commit 61d504afb8
11 changed files with 129 additions and 16 deletions

View file

@ -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()}

View file

@ -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)):