Révision 23f4b827
Ajouté par Frédéric Péters il y a plus de 10 ans
extra/modules/root.ptl | ||
---|---|---|
864 | 864 |
|
865 | 865 |
if not 'auquotidien-welcome-in-services' in get_response().filter.get('keywords', []): |
866 | 866 |
t = TextsDirectory.get_html_text('aq-home-page') |
867 |
if not t: |
|
868 |
if get_request().user: |
|
869 |
t = TextsDirectory.get_html_text('welcome-logged') |
|
870 |
else: |
|
871 |
t = TextsDirectory.get_html_text('welcome-unlogged') |
|
867 | 872 |
if t: |
868 | 873 |
'<div id="home-page-intro">' |
869 | 874 |
t |
Formats disponibles : Unified diff
display welcome-(un)logged on homepage if there's no aq-home-page (#673)