{% extends 'base.html' %} {% block title %}Temperaturprotokoll{% endblock %} {% block content %}
{{ now.strftime('%d.%m.%Y') }}

Temperaturprotokoll

{% if is_leitung %}
+ Messstelle
{% endif %}
{% if not temp_points %}
Noch keine Messstelle. Eine Messstelle ist ein Gerät mit Sollbereich, z. B. der Impfstoff-Kühlschrank mit +2 bis +8 °C. {% if is_leitung %}
Kühlschrank anlegen
Bei vorhandenen Geräten: Gerät bearbeiten → „Temperaturüberwachung“ ausfüllen.{% endif %}
{% endif %}
{% for p in temp_points %}{% set r = temp_last.get(p.id) %}

{{ p.name }}

{% if p.id in temp_bad_ids %}zuletzt außerhalb{% elif p.id in temp_missing_ids %}heute offen{% elif r %}ok{% endif %}
{{ p.location or '' }}{{ ' · ' if p.location }}Soll {{ p.temp_min|num }} bis {{ p.temp_max|num }} °C
{% if today_rows.get(p.id) %} {% elif r %}

Zuletzt {{ r.current|num }} °C am {{ r.ts.strftime('%d.%m. %H:%M') }}

{% endif %} {% set back = '/temperatur' %}{% include 'temperatur/_form.html' %}
Monatsprotokoll
{% endfor %}
{% endblock %}