diff --git a/aircox_cms/locale/fr/LC_MESSAGES/django.po b/aircox_cms/locale/fr/LC_MESSAGES/django.po index 683161c..66fd7b0 100755 --- a/aircox_cms/locale/fr/LC_MESSAGES/django.po +++ b/aircox_cms/locale/fr/LC_MESSAGES/django.po @@ -863,7 +863,7 @@ msgstr "Ce programme n'est plus actif" #: aircox_cms/templates/aircox_cms/publication.html:33 msgid "Go back to the publication" -msgstr "Retourner à l'application" +msgstr "Retourner à la publication" #: aircox_cms/templates/aircox_cms/sections/section_publication_info.html:15 msgid "Published by" diff --git a/aircox_cms/sections.py b/aircox_cms/sections.py index 84e0c78..c20c178 100755 --- a/aircox_cms/sections.py +++ b/aircox_cms/sections.py @@ -285,6 +285,7 @@ class ListBase(models.Model): import aircox_cms.models as models params = { + 'view': 'list', 'date_filter': self.get_date_filter_display(), 'model': self.model and self.model.model, 'asc': self.asc, diff --git a/scripts/cron_diffusions b/scripts/cron_diffusions index 138bced..1cb1320 100755 --- a/scripts/cron_diffusions +++ b/scripts/cron_diffusions @@ -2,7 +2,7 @@ # aircox daily tasks: # - diffusions monitoring for the current month -cd /srv/app/aircox/ +cd /srv/apps/aircox/ scripts/launch_in_venv ./manage.py diffusions_monitor --update --clean --check --mode auto # - diffusions monitoring for the next month scripts/launch_in_venv ./manage.py diffusions_monitor --update --next-month --mode auto