{% extends 'cards/base.html' %} {% load duration i18n %} {% block header %} {% trans "Last Sleep" %} {% endblock %} {% block title %} {% if sleep %} {% blocktrans trimmed with since=sleep.end|deltasince|duration_string:'m' time=sleep.end|time %}