Add basic support for viewing inventory batches on mobile
This commit is contained in:
parent
60104f05c7
commit
452cb99349
8 changed files with 82 additions and 12 deletions
6
tailbone/templates/mobile/batch/inventory/view.mako
Normal file
6
tailbone/templates/mobile/batch/inventory/view.mako
Normal file
|
@ -0,0 +1,6 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/mobile/newbatch/view.mako" />
|
||||
|
||||
<%def name="title()">${h.link_to("Inventory", url('mobile.batch.inventory'))} » ${instance.id_str}</%def>
|
||||
|
||||
${parent.body()}
|
7
tailbone/templates/mobile/batch/inventory/view_row.mako
Normal file
7
tailbone/templates/mobile/batch/inventory/view_row.mako
Normal file
|
@ -0,0 +1,7 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/mobile/newbatch/view_row.mako" />
|
||||
|
||||
## TODO: this is broken for actual page (header) title
|
||||
<%def name="title()">${h.link_to("Inventory", url('mobile.batch.inventory'))} » ${h.link_to(instance.batch.id_str, url('mobile.batch.inventory.view', uuid=instance.batch_uuid))} » row ${row.sequence}</%def>
|
||||
|
||||
${parent.body()}
|
9
tailbone/templates/mobile/newbatch/view.mako
Normal file
9
tailbone/templates/mobile/newbatch/view.mako
Normal file
|
@ -0,0 +1,9 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/mobile/master/view.mako" />
|
||||
|
||||
${parent.body()}
|
||||
|
||||
% if master.has_rows:
|
||||
<br />
|
||||
${grid.render_complete()|n}
|
||||
% endif
|
4
tailbone/templates/mobile/newbatch/view_row.mako
Normal file
4
tailbone/templates/mobile/newbatch/view_row.mako
Normal file
|
@ -0,0 +1,4 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/mobile/master/view_row.mako" />
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue