Révision 8c5973f5
Ajouté par Frédéric Péters il y a presque 5 ans
auquotidien/modules/root.py | ||
---|---|---|
761 | 761 |
'saml', 'register', 'ident', 'afterjobs', |
762 | 762 |
('informations-editeur', 'informations_editeur'), |
763 | 763 |
('announces', 'announces_dir'), |
764 |
'accessibility', 'contact', 'help', |
|
765 | 764 |
'myspace', 'services', 'agenda', 'categories', 'user', |
766 | 765 |
('tmp-upload', 'tmp_upload'), 'json', '__version__', |
767 | 766 |
'themes', 'pages', 'payment', 'invoices', 'roles', |
... | ... | |
871 | 870 |
# it will get caught in _q_traverse that will redirect it to an |
872 | 871 |
# URL embedding the category |
873 | 872 |
|
873 |
if component in ('accessibility', 'contact', 'help'): |
|
874 |
if TextsDirectory.get_html_text('aq-' + component): |
|
875 |
return getattr(self, component)() |
|
876 |
|
|
874 | 877 |
return None |
875 | 878 |
|
876 | 879 |
def json(self): |
Formats disponibles : Unified diff
misc: don't take over contact/help/accessibility unless defined (#34717)