{% extends 'base.html' %} {% from 'macros.html' import due, file_link, docscan with context %} {% block title %}QM-Dokumente{% endblock %} {% block content %}

QM-Dokumente

{% if is_leitung %}SammelimportLesebestätigungen {{ 'Nur gültige' if show_all else 'Auch zurückgezogene' }}{% endif %}
{% if pending and is_leitung %}
⏳ {% if job_running %}Hintergrund-Verarbeitung läuft: noch {{ pending }} Datei(en) werden in PDF umgewandelt. Die Seite aktualisiert sich selbst.{% else %}{{ pending }} Datei(en) noch ohne PDF – die Umwandlung startet automatisch, sobald der Konverter erreichbar ist (oder unter Protokoll & Tablets).{% endif %}
{% if job_running %}{% endif %} {% endif %}
Alle {% for c in tabs %}{{ c }}{% endfor %}
{% if docs %} {% for d in docs %}{% set cur = d.current %} {% endfor %}
DokumentKategorieVersionGültig abNächste ÜberprüfungGelesen
{{ 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 %}
{% else %}
Noch keine Dokumente.
{% endif %}
{% if is_leitung %}
Neues Dokument
{% for c in all_categories %}
aus der Liste wählen oder eigene eingeben
Word & Co. werden automatisch in PDF umgewandelt.
{{ docscan() }}
leer = keine Erinnerung
Für kurze Anweisungen ohne Word-Datei. Formatierung: # Überschrift, - Aufzählung, **fett**.
{% endif %} {% endblock %}