Refactor (coalesce) all batch-related templates
This commit is contained in:
parent
951057d8c2
commit
965dac9f43
22 changed files with 164 additions and 322 deletions
|
@ -411,11 +411,11 @@ class BatchMasterView(MasterView):
|
|||
def get_fallback_templates(self, template, mobile=False):
|
||||
if mobile:
|
||||
return [
|
||||
'/mobile/newbatch/{}.mako'.format(template),
|
||||
'/mobile/batch/{}.mako'.format(template),
|
||||
'/mobile/master/{}.mako'.format(template),
|
||||
]
|
||||
return [
|
||||
'/newbatch/{}.mako'.format(template),
|
||||
'/batch/{}.mako'.format(template),
|
||||
'/master/{}.mako'.format(template),
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue