      CONFORMIDADE DO SENSOR
Sensor     {{ data.sensor.sensor_number }}-{{ data.sensor.sensor_description | f.strip_accents }}
Localizacao{{ if data.sensor.location_type == 0 }}Tanque    {{ else if data.sensor.location_type == 2 }}Bomba       {{else}}Site            {{end}}{{if data.sensor.location_type != 3}}{{data.sensor.location_number}}{{end}}

Hoje                {{ if data.today_alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
Ultimas 24 horas    {{ if data.last24h_alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}

Ano passado
Mes
----------------------------------------
{{ data.last12_months[0].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[0].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[1].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[1].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[2].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[2].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[3].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[3].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[4].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[4].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[5].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[5].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[6].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[6].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[7].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[7].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[8].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[8].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[9].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[9].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[10].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[10].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}
{{ data.last12_months[11].period_start_date | f.customunixtime format: "MMMM" }}     {{ if data.last12_months[11].alarm_count < 1 }}APROVAR        {{ else }} - {{ end }}

