{% extends "base.html" %} {% block title %}Historia wersji hosts{% endblock %} {% block content %}

Historia wersji dla: {{ hostfile.title }}

{% set latest_id = versions[0].id if versions|length > 0 else None %} {% for version in versions %} {% endfor %}
Data Fragment treści Akcje
{{ version.timestamp.strftime("%Y-%m-%d %H:%M:%S") }} {{ version.content[:50] }}{% if version.content|length > 50 %}...{% endif %} Podgląd Przywróć {% if latest_id and version.id != latest_id %} Diff z najnowszą {% else %} Brak diff {% endif %}
Usuń wersje starsze niż 30 dni
{% endblock %}