{% extends 'base.html' %} {% load ui_extras %} {% block content %}

Probe{{ paginator.count|pluralize }} ({{ paginator.count }})

{{ form }}
{% if perms.probes.add_probesource %}
{% url 'probes:create' as url %} {% button 'CREATE' url "Create new Probe" %}
{% endif %}
{% if object_list %} {% pagination next_url previous_url %}
{% for probe in object_list %} {% endfor %}
Model Events Name Status
{{ probe.get_model_display }} {% with probe.get_event_type_class_names as event_type_class_names %} {% if event_type_class_names %}

{% for event_type in event_type_class_names %} {{ event_type }}{% if not forloop.last %}
{% endif %} {% endfor %}

{% endif %} {% endwith %}
{{ probe.name }} {% if probe.status == 'ACTIVE' %} Active {% else %} Inactive {% endif %}
{% pagination next_url previous_url %} {% elif form.has_changed %} {% url 'probes:index' as empty_results_url %} {% empty_results empty_results_url %} {% endif %} {% endblock %}