{% extends "base.html" %} {% load static %} {% load custom_tags_and_filters %} {% block extrahead %} {% endblock %} {% block title %}Sensors{% endblock %} {% block content %}
{% if sensors or categories %} {%if selected_category or alert_logs %}
{% if alert_logs %}
    {% for alert in alert_logs %}
  • [{{ alert.sensor.name }}] {{ alert.description }}
  • {% endfor %}
{% else %} There are no alerts for sensors in the {{ selected_category }}. {% endif %}
{% endif %} {% endif %}
{% endblock %}