{#- 1回の外出のまとめ。タイムラプスと、出来事の年表を並べる。 -#} {% extends "base.html" %} {% from "_macros.html" import chip, csrf_field, empty_state, icon, stat, when %} {% block content %}

留守中のまとめ

{{ when(start) }} 〜 {{ when(end) }}({{ length }}){% if ongoing %} {{ chip("外出中", "warn") }}{% endif %}

{{ stat("出来事", digest.items | length, "件", "paw") }}{% if asleep %}{{ stat("寝ていた時間", asleep, "", "user") }}{% endif %}
{% if summary %}

判定器による要約

{% if summary.status == "done" %}

{{ summary.summary }}

{% if summary.points %}{% endif %}

記録から判定器が作った要約で、誤りを含むことがあります。獣医師の判断の代わりにはなりません。

{% elif summary.status in ("queued", "running") %}

{{ chip("要約を作っています", "warn") }} しばらくしてから開き直してください。

{% elif summary.status == "failed" %}

{{ chip("要約を作れませんでした", "off") }}

{% elif not summary.can_request %}

外出から戻ると、要約を作ります。

{% endif %} {% if summary.can_request %}
{{ csrf_field(token) }}
{% endif %}
{% endif %}{% if frames %}
静止画 {{ frames }}枚のタイムラプス(1分ごとの静止画が、1時間で約5秒)
{% else %}

この外出の静止画はありません(監視が動いていなかったか、7日を過ぎて消えました)。

{% endif %}

出来事

{% if digest.items %} {% else %}

この間の記録・検知・動画はありません。

{% endif %}

ほかの外出のまとめ

{% endblock %}