{% extends 'base.html' %}
{% load bootstrap incidents_extras inventory_extras %}
{% block content %}
- Home
- Incidents
{% if reset_link %}
- {{ object.name }}
{% else %}
- {{ object.name }}
{% endif %}
{% if perms.incidents.view_machineincident and paginator.count and paginator.num_pages > 1 %}
- page {{ page.number }} of {{ paginator.num_pages }}
{% endif %}
Incident {{ incident.name }}
| Severity |
{% incident_severity incident.severity %} |
| Status |
{{ incident.get_status_display }} |
{% for section, objects in objects %}
| {{ section }} |
{% for link, obj in objects %}
-
{% if link %}
{{ obj }}
{% else %}
{{ obj }}
{% endif %}
{% endfor %}
|
{% endfor %}
- Created at
- {{ object.created_at|date:'r' }}
- Updated at
- {{ object.updated_at|date:'r' }}
{% if show_events_link %}
Events
{% endif %}
{% for link, anchor_text in store_links %}
{{ anchor_text }}
{% endfor %}
{% if perms.incidents.change_incident %}
Change status
{% endif %}
{% if perms.incidents.view_machineincident and paginator.count %}
{{ paginator.count }} machine incident{{ paginator.count|pluralize }}
{% if next_url or previous_url %}
{% endif %}
| Serial number |
Status |
Created at |
Updated at |
{% if perms.incidents.change_machineincident %}
|
{% endif %}
{% for machine_incident in machine_incidents %}
|
{% if perms.inventory.view_machinesnapshot %}
{{ machine_incident.serial_number }}
{% else %}
{{ machine_incident.serial_number }}
{% endif %}
|
{{ machine_incident.get_status_display }} |
{{ machine_incident.created_at }} |
{{ machine_incident.updated_at }} |
{% if perms.incidents.change_machineincident %}
Change status
|
{% endif %}
{% endfor %}
{% if next_url or previous_url %}
{% endif %}
{% endif %}
{% endblock %}