{% extends "layout.html" %} {% block layout_content %}

##### Riwayat Versi Berkas: {{ item.judul }}

# | Tanggal | User | Metadata | Lampiran | Aksi
--- | --- | --- | --- | --- | ---
{% for v in versions %}
{{ forloop.counter }} | {{ v.created|date:"d M Y H:i" }} | {{ v.user_nama|default:"-" }} | Judul: {{ v.judul|default:"-" }} Deskripsi: {{ v.deskripsi|default:"-" }} Tags: {% if v.tags %} {% for tag in v.tags %} {{ tag }} {% endfor %} {% else %} Tidak ada tag {% endif %} | {% if v.attachments %} {% for file in v.attachments %} {{ file.name }} {% endfor %} {% else %} Belum ada versi file sebelumnya {% endif %} | Rollback
{% endfor %}

{% if versions.has_other_pages %}
{% endif %}
Kembali ke Detail
{% endblock %}