Various improvements to batch worksheets, index links etc.

This commit is contained in:
Lance Edgar 2017-08-01 14:42:32 -05:00
parent 00027b09f6
commit 0171f3ebba
7 changed files with 13 additions and 29 deletions

View file

@ -7,6 +7,10 @@
## ##############################################################################
<%inherit file="/mobile/base.mako" />
<%def name="title()">${model_title_plural}</%def>
<%def name="title()">${index_title}</%def>
% if master.mobile_creatable and request.has_perm('{}.create'.format(permission_prefix)):
${h.link_to("New {}".format(model_title), url('mobile.{}.create'.format(route_prefix)), class_='ui-btn ui-corner-all')}
% endif
${grid.render_complete()|n}

View file

@ -1,10 +0,0 @@
## -*- coding: utf-8; -*-
<%inherit file="/mobile/master/index.mako" />
<%def name="title()">Receiving</%def>
% if request.has_perm('receiving.create'):
${h.link_to("New Receiving Batch", url('mobile.receiving.create'), class_='ui-btn ui-corner-all')}
% endif
${parent.body()}