{% extends "layouts/panel.html" %} {% load i18n %} {% load ravix_ui %} {% block title %}{% blocktrans trimmed with pk=run.pk %}Update run #{{ pk }}{% endblocktrans %}{% endblock %} {% block page_title %}{% blocktrans trimmed with pk=run.pk %}Run #{{ pk }}{% endblocktrans %}{% endblock %} {% block content %}
{{ run.from_version }} → {{ run.to_version }}
{% trans "Error:" %}
{{ run.error }}{{ run.recovery }}{% blocktrans trimmed with started_at=run.started_at|jalali_datetime %}Started: {{ started_at }}{% endblocktrans %}{% if run.finished_at %} {% blocktrans trimmed with finished_at=run.finished_at|jalali_datetime %}— Finished: {{ finished_at }}{% endblocktrans %}{% endif %}{% if run.started_by %} {% blocktrans trimmed with started_by=run.started_by %}— By {{ started_by }}{% endblocktrans %}{% endif %}
{% if run.sha256 %}{% trans "Package SHA-256:" %} {{ run.sha256 }}
{% endif %} {% if run.signer_key_id %}{% trans "Signer:" %} {{ run.signer_key_id }} {% blocktrans trimmed with signer_label=run.signer_label %}({{ signer_label }}) — the signature confirms the package’s authenticity, not that the code is harmless.{% endblocktrans %}
{% endif %} {% if run.backup.dir %}{% trans "Backup:" %} {{ run.backup.dir }}
{% endif %} {% if run.parent %}{% trans "Related to" %} {% blocktrans trimmed with pk=run.parent.pk %}Run #{{ pk }}{% endblocktrans %}
{% endif %} {% if run.migrations_applied %}{% trans "Applied migrations:" %}
| {% trans "Step" %} | {% trans "Result" %} | {% trans "Time" %} | {% trans "Details" %} |
|---|---|---|---|
| {{ s.name }} | {% if s.ok %}{% trans "Succeeded" %}{% else %}{% trans "Failed" %}{% endif %} | {{ s.at }} | {{ s.detail }} |
| — | |||
{{ run.migration_output }}{% trans "Files and database return to the moment before this upgrade; data recorded after the upgrade will be lost. A backup of the current state is taken before rolling back." %}