{% extends 'base.html' %} {% from 'macros.html' import status_badge, due with context %} {% block title %}Geräte{% endblock %} {% block content %}
| Gerät | Kategorie | Standort | Nächste Fälligkeit | Status |
|---|---|---|---|---|
| {{ d.name }} {{ [d.manufacturer, d.model]|select|join(' ') }}{% if d.serial_no %} · SN {{ d.serial_no }}{% endif %} |
{{ d.category }}{% if d.is_steri %} Chargen{% endif %}{% if d.required_permission %} nur: {{ PERMISSIONS.get(d.required_permission, d.required_permission) }}{% endif %} |
{{ d.location or '–' }} | {% if nxt %}{{ nxt.title }} {{ due(nxt.next_due, nxt.warn_days) }}{% else %}keine Prüfungen hinterlegt{% endif %} |
{{ status_badge(status[d.id]) }} |