{% extends 'base.html' %} {% load static %} {% block title %}Incident Reports{% endblock %} {% block content %}
| Incident | Type | Severity | Location | Reported By | Date | Status | Actions |
|---|---|---|---|---|---|---|---|
|
{{ incident.incident_title }}
{{ incident.incident_description|truncatechars:50 }} |
{{ incident.get_incident_type_display }} | {{ incident.get_severity_display }} |
{{ incident.location }}
{% if incident.department %}
{{ incident.department }} {% endif %} |
{{ incident.reported_by.first_name }} {{ incident.reported_by.last_name }}
{{ incident.report_date|date:"M d, Y" }} |
{{ incident.incident_date|date:"M d, Y" }}
{% if incident.incident_time %}
{{ incident.incident_time|time:"H:i" }} {% endif %} |
{{ incident.get_status_display }} |