diff --git a/auquotidien/modules/root.py b/auquotidien/modules/root.py index 82047d5..468c3cf 100644 --- a/auquotidien/modules/root.py +++ b/auquotidien/modules/root.py @@ -945,11 +945,6 @@ class AlternateRootDirectory(OldRootDirectory): all_formdefs = FormDef.select(lambda x: not x.is_disabled() or x.disabled_redirection, order_by = 'name') - if get_response().page_template_key == 'mobile': - # if we are in 'mobile' mode, and some formdefs have a 'mobile' - # keyword, we limit the display to those - if any((x for x in all_formdefs if x.keywords and 'mobile' in x.keywords)): - all_formdefs = [x for x in all_formdefs if x.keywords and 'mobile' in x.keywords] if position: t = self.display_list_of_formdefs(