Various tweaks for mobile receiving batches

this is temporary, soon will refactor all that again..
This commit is contained in:
Lance Edgar 2017-05-22 13:13:44 -05:00
parent 5cb3f15616
commit d93b91f491
4 changed files with 29 additions and 11 deletions

View file

@ -110,9 +110,6 @@
% if master is not Undefined and master.listing:
<h1>${model_title_plural}</h1>
% elif index_title is not Undefined and index_url is not Undefined:
<h1>${h.link_to(index_title, index_url)}</h1>
<h2>${self.page_title()}</h2>
% elif capture(self.page_title):
<h2>${self.page_title()}</h2>
% endif

View file

@ -0,0 +1,8 @@
## -*- coding: utf-8; -*-
<%inherit file="/mobile/base.mako" />
<%def name="title()">Receiving</%def>
${h.link_to("New Receiving Batch", url('purchases.batch.mobile_create'), class_='ui-btn')}
${h.link_to("View Receiving Batches", url('mobile.purchases.batch'), class_='ui-btn')}