HyperKitty: allow easy templates customization

This commit is contained in:
Aurélien Bompard 2015-06-30 16:34:29 +00:00
parent d5eb512624
commit b1623742df
2 changed files with 6 additions and 0 deletions

View file

@ -299,6 +299,11 @@
state=directory owner=root group=root mode=0755
tags: mailman
- name: create the hyperkitty templates override dir
file: path="{{ mailman_webui_basedir }}/templates"
state=directory owner=root group=root mode=0755
tags: mailman
#
# Plug HyperKitty into Mailman
#

View file

@ -186,6 +186,7 @@ TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
'{{ mailman_webui_basedir }}/templates',
)
# Django 1.6+ defaults to a JSON serializer, but it won't work with django-openid, see