{% extends 'base.html' %} {% from 'macros.html' import status_badge, due, file_link, docscan with context %} {% set t = target %} {% block title %}{{ t.full_name }}{% endblock %} {% block content %}
Ergeben sich automatisch aus gültigen Nachweisen.
| Nachweis | Erworben / unterwiesen | Gültig bis | Status | Dokument |
|---|---|---|---|---|
| {{ ty.name }}{% if ty.required_for_all %} Pflicht{% endif %}
{% if ty.permission_list %} → {{ ty.permission_list|perm_labels }}{% endif %} {% if ty.prerequisite_list %} Voraussetzung für: {{ ty.prerequisite_list|perm_labels }}{% endif %} |
{{ q.acquired_on|d if q else '–' }} | {% if q and q.valid_until %}{{ due(q.valid_until, ty.warn_days) }}{% elif q %}unbefristet{% else %}–{% endif %} | {% if q %}{{ status_badge('ok' if not q.valid_until else due_status(q.valid_until, ty.warn_days)) }}{% elif ty.required_for_all %}{{ status_badge('missing') }}{% else %}–{% endif %} | {{ file_link(q.file_path, q.file_name) if q else '' }} |
| Nachweis | Datum | Gültig bis | Bemerkung | Dokument | {% if is_leitung %}{% endif %} |
|---|---|---|---|---|---|
| {{ q.type.name }} | {{ q.acquired_on|d }} | {{ q.valid_until|d if q.valid_until else 'unbefristet' }} | {{ q.note or '' }} | {{ file_link(q.file_path, q.file_name) }} | {% if is_leitung %}{% endif %} |