{% extends "alertprofiles/base.html" %} {% load crispy_forms_tags %} {% block tabcontent %}

Subscriptions

{% if profile %}

Back to profile

{% else %}

Back to profiles

{% endif %} {% if not editing %}

For profile "{{ time_period.profile.name }}". Time period starting at {{ time_period.start }} on {{ time_period.get_valid_during_display }}.

{% endif %} {% block subscriptions %} {% if subscriptions %}
{% for s in subscriptions %} {% endfor %}
Watched filter group Alert address Dispatch Ignore resolved
{{ s.filter_group.name }} {{ s.alert_address }} {{ s.get_type_display|capfirst }} {{ s.ignore_resolved_alerts|yesno:"Yes,No" }} Edit

{% endif %} {% endblock subscriptions %} {% block subscription_form %}
{{ editing|yesno:"Edit,Add new" }} subscription
{% if not num_addresses %}
There are no alert addresses. Add your first address to fix this problem.
{% endif %} {% if not num_filter_groups %}
There are no available filter groups. Add your first filter group to fix this problem.
{% endif %} {% crispy form %}
{% endblock subscription_form %} {% endblock %}