Various tweaks for mobile receiving batches
this is temporary, soon will refactor all that again..
This commit is contained in:
parent
5cb3f15616
commit
d93b91f491
4 changed files with 29 additions and 11 deletions
|
@ -413,6 +413,11 @@ class BatchMasterView(MasterView):
|
|||
super(BatchMasterView, self).delete_instance(batch)
|
||||
|
||||
def get_fallback_templates(self, template, mobile=False):
|
||||
if mobile:
|
||||
return [
|
||||
'/mobile/newbatch/{}.mako'.format(template),
|
||||
'/mobile/master/{}.mako'.format(template),
|
||||
]
|
||||
return [
|
||||
'/newbatch/{}.mako'.format(template),
|
||||
'/master/{}.mako'.format(template),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue