{% extends "base.html" %} {% load i18n ui %} {% block title %}{% translate "Your calculations" %}{% endblock %} {% block content %}

{% translate "Your calculations" %}

{% blocktranslate count days=job_retention_days %}Calculations and their files are kept for {{ days }} day after they finish, then deleted.{% plural %}Calculations and their files are kept for {{ days }} days after they finish, then deleted.{% endblocktranslate %}

{% translate "Calculate indices for a station" as new_label %}{% url 'stations:upload' as new_url %} {% if jobs %}{% include "components/button.html" with label=new_label href=new_url icon="upload" %}{% endif %}
{% if jobs %}
{% for job in jobs %} {% endfor %}
{% translate "Your calculations" %}
{% translate "Calculation" %}{% translate "Started" %}{% translate "Status" %}
{{ job.title|default:job.kind }} {{ job.created_at|date:"j M Y, H:i" }} {% include "jobs/_status.html" %}
{% else %} {% translate "You have no calculations." as empty_title %}{% translate "Calculations you start appear here while they are kept." as empty_text %} {% include "components/empty_state.html" with icon="clock" title=empty_title text=empty_text action_label=new_label action_href=new_url %} {% endif %}
{% endblock %}