diff --git a/python/nav/web/templates/alertprofiles/timeperiods.html b/python/nav/web/templates/alertprofiles/timeperiods.html index 51221d3e7e..2ef38593b8 100644 --- a/python/nav/web/templates/alertprofiles/timeperiods.html +++ b/python/nav/web/templates/alertprofiles/timeperiods.html @@ -50,8 +50,9 @@ Watch {{ b.filter_group.name }}, send to {% if not b.alert_address.type.supported %}
{% endif %} + {% if b.alert_address.type.blacklisted_reason %}
{% endif %} {{ b.alert_address.address }} - {% if not b.alert_address.type.supported %}
{% endif %}, + {% if not b.alert_address.type.supported or b.alert_address.type.blacklisted_reason %}
{% endif %}, {{ b.get_type_display }}. {% endfor %}