{% extends 'base.html' %} {% load base_extras incidents_extras inventory_extras ui_extras %} {% block content %}

{{ incident.name }}

{% if show_events_link %} {% url 'incidents:incident_events' object.pk as url %} {% button 'EVENTS' url %} {% endif %} {% for link, anchor_text in store_links %} {% button 'LINK' link anchor_text %} {% endfor %}

Incident

{% if perms.incidents.change_incident and object.get_next_statuses %} {% url 'incidents:update_incident' object.pk as url %} {% button 'UPDATE' url "Edit Status" %} {% endif %}
{% for section, objects in objects %} {% endfor %}
Severity {% incident_severity incident.severity %}
Status {{ incident.get_status_display }}
{{ section }}
    {% for link, obj in objects %}
  • {% if link %} {{ obj }} {% else %} {{ obj }} {% endif %}
  • {% endfor %}
{% created_updated_at object %}
{% if perms.incidents.view_machineincident and paginator.count %}

Machine incident{{ paginator.count|pluralize }} ({{ paginator.count }})

{% pagination next_url previous_url %} {% if perms.incidents.change_machineincident %} {% endif %} {% for machine_incident in machine_incidents %} {% if perms.incidents.change_machineincident %} {% endif %} {% endfor %}
Serial number Status Created at Updated at
{% if perms.inventory.view_machinesnapshot %} {{ machine_incident.serial_number|privacywrapper }} {% else %} {{ machine_incident.serial_number|privacywrapper }} {% endif %} {{ machine_incident.get_status_display }} {{ machine_incident.created_at }} {{ machine_incident.updated_at }} {% url 'incidents:update_machine_incident' object.pk machine_incident.pk as url %} {% button 'UPDATE' url "Edit Status" %}
{% pagination next_url previous_url %} {% endif %} {% endblock %}