2023-02-16 04:22:27 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
|
|
|
{% load duration i18n %}
|
|
|
|
{% block header %}
|
2024-02-06 13:35:36 +00:00
|
|
|
<a href="{% url "core:pumping-list" %}">{% trans "Last Pumping" %}</a>
|
2023-02-16 04:22:27 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block title %}
|
|
|
|
{% if pumping %}
|
2023-06-16 21:08:45 +00:00
|
|
|
{% blocktrans trimmed with since=pumping.start|deltasince|duration_string:'m' time=pumping.start|time %}
|
2023-02-16 04:22:27 +00:00
|
|
|
<div>{{ since }} ago</div>
|
|
|
|
<small>{{ time }}</small>
|
|
|
|
{% endblocktrans %}
|
|
|
|
{% else %}
|
|
|
|
{% trans "None" %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% if pumping %}
|
|
|
|
{% trans "Amount" %}: {{ pumping.amount }}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|