{% extends "base.html" %} {% load i18n %} {% load humanize %} {% block title %} {% trans "Revisions for" %} {{ secret.name }} {% endblock %} {% block content %}
| {% trans "Date" %} | {% trans "Changed by" %} | {% trans "Name" %} | {% trans "Details" %} | {% trans "View" %} |
|---|---|---|---|---|
| {{ r.ts|naturaltime }} | {% if r.kind == "payload" %} {% elif r.kind == "restore" %} {% else %} {% endif %} {{ r.user }} | {{ r.name }} {% if r.needs_changing %} needs-changing {% endif %} |
{% if r.changes %}
{% for c in r.changes %}
{{ c.label }}:
{{ c.old }} → {{ c.new }}
{% if not forloop.last %}{% endif %} {% endfor %} {% if r.restored_from %} Restored from:
{{ r.restored_from }}
{% endif %}
{% else %}
—
{% endif %}
|
{% if request.user.is_superuser %} {% endif %} {% if r.current %} {% if r.kind == "payload" %} {% elif r.kind == "meta" %} {% endif %} {% endif %} |