{% extends "layout.html" %} {% load static %} {% load common %} {% block layout_script %} {% endblock %} {% block layout_content %}
{% for i,attr in attributes.items %} {% if attr.name and attr.type %} {% endif %} {% endfor %} {% for attachment in attachments %} {% endfor %}
SKPD:{{ skpd.urai|default:"(kosong)" }}
Tahun:{{ item.tahun.tahun }}
Judul:{{ item.judul }}
Deskripsi:{{ item.deskripsi|linebreaksbr }}
{{ attr.name }}: {% for k,v in item.attributes.items %} {% if k == i %} {% if attr.type == 'date' %} {{ v|stringDateYMD }} {% elif attr.type == 'text_max' %} {{ v.strip|linebreaksbr }} {% else %} {{ v }} {% endif %} {% endif %} {% endfor %}
Lampiran: {{ forloop.counter }}. {{ attachment.name }} : {% if attachment.name|endswith_any:".pdf" %} {% endif %} {% if attachment.name|endswith_any:".pdf" %} {% endif %} {% if attachment.name|endswith_any:".docx" %} {% endif %} {% if attachment.name|endswith_any:".jpg,.jpeg,.png" %} {% endif %} {% if status_konten == 'public' %} {% endif %}
Waktu Pembuatan:{{ item.created }}
Tags: {% for tag in item.contenttag_set.all %} {{ tag.tag.name }} {% empty %} (tidak ada tag) {% endfor %}
Dibuat Oleh: {{ user_yg_input }}
Kembali List Berkas {% if allow == 'yes' %} Edit {% endif %} Riwayat
{% endblock %}