From 016bd0d03c59106822c9fbacf3e8039fe6d29050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 12 Jan 2016 12:01:50 +0000 Subject: [PATCH] Mailman3: add UI setting --- roles/mailman/templates/settings.py.j2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/mailman/templates/settings.py.j2 b/roles/mailman/templates/settings.py.j2 index 7c8c4f3bc5..ec72a02dc6 100644 --- a/roles/mailman/templates/settings.py.j2 +++ b/roles/mailman/templates/settings.py.j2 @@ -286,6 +286,12 @@ COMPRESS_OFFLINE = True CRISPY_TEMPLATE_PACK = 'bootstrap3' CRISPY_FAIL_SILENTLY = not DEBUG +# Compatibility with Bootstrap 3 +from django.contrib.messages import constants as messages +MESSAGE_TAGS = { + messages.ERROR: 'danger' + } + # # Full-text search engine @@ -371,7 +377,6 @@ CACHES = { } - # # HyperKitty-specific #