{% extends 'base.html' %} {% from 'macros.html' import due, file_link, docscan with context %} {% block title %}QM-Dokumente{% endblock %} {% block content %}
| Dokument | Kategorie | Version | Gültig ab | Nächste Überprüfung | Gelesen |
|---|---|---|---|---|---|
| {{ d.title }}
{% if cur and cur.content %}Text{% endif %}{% if cur and cur.content and cur.file_path %} + {% endif %}{% if cur and cur.file_path %}{{ cur.file_name.rsplit('.', 1)[-1]|upper }}-Datei{% if cur.pdf_path %} → PDF{% endif %}{% endif %}{% if cur and not cur.content and not cur.file_path %}noch kein Inhalt{% endif %} |
{{ d.category }} | {{ cur.version_no if cur else '–' }} | {{ cur.valid_from|d if cur else '–' }} | {{ due(reviews[d.id], 30) if reviews[d.id] else '–' }} | {% if not d.requires_ack %}nicht nötig {% elif cur and cur.id in my_acks %}✔ bestätigt {% else %}bitte lesen{% endif %} |