Verified Commit 5ff49de2 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

roles/archweb: Properly template the archweb_admins variable to put the ADMINS...

roles/archweb: Properly template the archweb_admins variable to put the ADMINS when they are configured.
parent 24f79db6
......@@ -5,10 +5,15 @@ DEBUG = False
TEMPLATE_DEBUG = False
## Notification admins
{% if archweb_admins %}
ADMINS = (
('Archweb Bugs', 'dan@archlinux.org'),
('Giancarlo Razzolini', 'grazzolini@archlinux.org'),
{% for admin in archweb_admins %}
{{ admin }},
{% endfor %}
)
{% else %}
ADMINS = ()
{% endif %}
SERVER_EMAIL = 'archweb@archlinux.org'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment