{% extends "layouts/content.html" %} {% load django_tables2 %} {% block content %}

Device status transition

When
{{ transition.created_on }}
Device name
{{ transition.device.hostname }}
Type
{{ transition.device.device_type }}
Job
{% if transition.job %}
{{ transition.job }}
{% else %}
None
{% endif %}
Created by:
{{ transition.created_by|default:"None" }}
Transitioned from:
{{ old_state }}
to:
{{ new_state }}
Message:
{% if transition.message %}
{{ transition.message }}
{% else %}
None
{% endif %}

Status transitions for {{ device.hostname }}

{% render_table transition_table %} {% endblock %} {% block scripts %} {% endblock %}