{% extends "paxalia/base.html" %} {% load static i18n %} {% block page_title %}{% trans "Deployments" %}{% endblock %} {% block page_subtitle %}{% trans "Recorded via manage.py record_deployment" %}{% endblock %} {% block extra_css %} {% endblock %} {% block dashboard_content %}
{% trans "Current release" %}{{ runtime_release.version|default:"unknown" }}{% trans "Installed application version or runtime release identifier." %}
{% trans "Environment" %}{{ runtime_release.environment|default:"unknown" }}{% trans "Runtime environment reported by Django settings." %}
{% trans "Host" %}{{ runtime_release.hostname|default:"unknown" }}{% trans "Server currently rendering this dashboard." %}
{% trans "Recorded history" %}{{ deployments|length }}{% trans "Persisted deployment records available to this dashboard." %}

{% trans "Recent Deployments" %}

{% trans "Each deployment recorded here also creates a matching annotation on the Overview traffic chart." %}

{% if deployments %} {% for d in deployments %} {% endfor %}
{% trans "Version" %} {% trans "Site" %} {% trans "Notes" %} {% trans "Deployed" %}
{{ d.version|default:"—" }} {{ d.site.name|default:"All sites" }} {{ d.notes|truncatechars:100|default:"—" }} {{ d.deployed_at|date:"M d, H:i" }}
{% else %}
{% trans "No deployment history has been recorded." %} {% trans "The live release information above is still available. For historical deploy annotations, call record_deployment from CI/CD after each successful release." %}
{% endif %}
{% endblock %}