{## # @file history_table_body.html # Copyright (C) 2015 Pressa. All rights reserved. #} {% for ev in events %}
{{ ev['history']['datetime']|date("d/m/Y H:i:s") }}
{{ ev['history']['commDatetime']|date("d/m/Y H:i:s") }}
Eve:{{ ev['history']['eventCode']['description'] }}
Edad:{{ ev['history']['age'] }}
Vel: {{ ev['history']['speed'] }}
Lat: {{ ev['history']['location']['lat'] }}
Lng: {{ ev['history']['location']['lng'] }}
Ent: {{ ev['history']['gpioBin'] }}
Prin:{{ ev['history']['mainBatteryVolt'] }}
Aux:{{ ev['history']['auxBatteryVolt'] }}
Odo:{{ ev['history']['odometer'] }}
GPRS:{{ ev['history']['gprsStatus'] }}
SeƱ:{{ ev['history']['gprsLevel'] }}
GPSS:{{ ev['history']['gpsStatus'] }}
Sat:{{ ev['history']['gpsSatellites'] }}
Tem:{{ ev['history']['temperature'] }}
Niv:{{ ev['history']['liters'] }}
GpsInfo:{{ ev['history']['gpsInfo']['id'] }}
Tipo:{{ ev['history']['type'] }}
{% set lat = ev['history']['location']['lat'] %} {% set lng = ev['history']['location']['lng'] %}
{{ lang['dashboard']['history']['table']['ev_location'] }}: {{ ev['history']['location']['address'] }} ({{ lat }}, {{ lng }})
{{ lang['dashboard']['history']['table']['ev_odometer'] }}: {{ ev['history']['odometer'] }} [l]
{{ lang['dashboard']['history']['table']['ev_speed'] }}: {{ ev['history']['speed'] }} [Km/h]
{{ lang['dashboard']['history']['table']['history_id'] }}: {{ ev['history']['_id'] }}
{% endfor %}