{% extends "hq/base.html" %} {% load static humanize i18n hq %} {% block title %}{% translate "Website status" %}{% endblock %} {% block heading %}{% translate "Website status" %}{% endblock %} {% block module_css %}{% endblock %} {% block actions %} {% comment %} A format switch rather than a disclosure: the same facts are either laid out as cards or printed as the JSON an API reader would get, never both at once. The two panels are siblings so the button can simply swap which is on. {% endcomment %}
{% endblock %} {% block content %}{% translate "What the image now running in this container was built from" %}
{% hq_icon "info" %} {% translate "“Deployed” is the container start time — a restart or a reboot moves it with nothing having been released." %}
{% translate "The container that served this request, and the versions it runs on" %}
{% translate "What this database still owes the code running against it" %}
{% if migrations is None %}{% hq_icon "info" %} {% translate "The migration plan could not be read." %}
{% elif migrations %}{% hq_icon "triangle-alert" %} {% blocktranslate count counter=migrations|length %} One migration is waiting — the code is running against a schema it does not expect. {% plural %} {{ counter }} migrations are waiting — the code is running against a schema it does not expect. {% endblocktranslate %}
{% else %}{% hq_icon "check" %} {% translate "Everything applied." %}
{% endif %}{% translate "How full the box is, and what this application accounts for" %}
{% hq_icon "info" %} {% translate "The media directory was not measured." %}
{% elif storage.media is None and storage.media_path %}{% hq_icon "info" %} {% blocktranslate with path=storage.media_path %}{{ path }} could not be measured — it is missing, or larger than the file budget.{% endblocktranslate %}
{% endif %}