mirror of https://github.com/snachodog/mybuddy.git
14 lines
370 B
HTML
14 lines
370 B
HTML
{% extends 'cards/base.html' %}
|
|
{% load duration i18n %}
|
|
|
|
{% block header %}{% trans "Last Slept" %}{% endblock %}
|
|
|
|
{% block title %}
|
|
{% if sleep %}
|
|
{% blocktrans %}{{ sleep.end|timesince }} ago{% endblocktrans %}
|
|
{% else %}
|
|
{% trans "Never" %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}{{ sleep.duration|duration_string }}{% endblock %} |