Add basic "mobile index" master view, plus support for demo mode
This commit is contained in:
parent
9808bb3a91
commit
581a21bd9d
16 changed files with 301 additions and 16 deletions
|
@ -401,7 +401,7 @@ class BatchMasterView(MasterView):
|
|||
del batch.data_rows[:]
|
||||
super(BatchMasterView, self).delete_instance(batch)
|
||||
|
||||
def get_fallback_templates(self, template):
|
||||
def get_fallback_templates(self, template, mobile=False):
|
||||
return [
|
||||
'/newbatch/{}.mako'.format(template),
|
||||
'/master/{}.mako'.format(template),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue