{% extends "base.html" %} {% block title %}Störungen{% endblock %} {% block heading %}🚨 Störungs-Übersicht{% endblock %} {% block breadcrumb %}

Werkstatt / Störungen

{% endblock %} {% block content %}
{{ stats.open }}
🔴 Offen
{{ stats.assigned }}
🟡 In Bearbeitung
{{ stats.critical }}
🚨 Kritisch
{% for i in incidents %} {% set cat = CATEGORIES.get(i.category, ('❓ ' ~ i.category, 'medium')) %}
{{ cat[0] }} {{ STATUS_LABELS.get(i.status, i.status) }}
{% if i.description %}
{{ i.description }}
{% endif %}
{% if i.machine_name %}⚙️ {{ i.machine_name }}{% endif %} {% if i.job_ident %}📋 {{ i.job_ident }}{% endif %} 👤 {{ i.reporter_first }} {{ i.reporter_last }} 🕐 {{ i.reported_at[:16] }} {% if i.severity == 'critical' %}⚠ KRITISCH{% endif %}
{% if i.status == 'open' %} {% elif i.status == 'assigned' %} {% endif %} {% if i.status == 'resolved' %} {% endif %}
{% else %}
🟢 Aktuell keine offenen Störungen.
{% endfor %}
{% endblock %}