{% for alarm in alarm_report.alarms %} {% endfor %}
Alarms and events report for plant {{ plant.name }} from {{ alarm_report.get_local_timestamp_from|date:"Y-m-d H:i:s" }} to {{ alarm_report.get_local_timestamp_to|date:"Y-m-d H:i:s" }}
  Raised Gone Tag Message Status Acknowledged
{% if alarm.alarm_type == 1 %} alarm {% else %} event {% endif %} {% if alarm.timestamp_raise %}{{ alarm.get_local_timestamp_raise|date:"Y-m-d H:i:s" }}{% else %} {% endif %} {% if alarm.timestamp_gone %}{{ alarm.get_local_timestamp_gone|date:"Y-m-d H:i:s" }}{% else %}-{% endif %} {{ alarm.tag }} {{ alarm.message }} {% if alarm.timestamp_gone %}gone{% else %}active{% endif %} {% if alarm.timestamp_ack %}{{ alarm.get_local_timestamp_ack|date:"Y-m-d H:i:s" }}{% else %}-{% endif %}