{% extends "system_maintenance/base.html" %} {% block title %}{{ object.title }}{% endblock %} {% block content %}

{{ object.title }}

Type: {{ object.maintenance_type }}

Created: {{ object.created_at }}

{% if object.created_at|date:'r' != object.updated_at|date:'r' %}

Updated: {{ object.updated_at }}

{% endif %} {% if object.documentation.raw %} Documentation {% endif %} {% include "system_maintenance/_related_records_button.html" with label="Maintenance Record" record_count=object.maintenance_records.count anchor="maintenance-records" singular_suffix="" plural_suffix="s" %} {% if user.is_staff %} {% endif %}
{% if object.documentation.raw %} {% with type_of_record='documentation' record_pk=object.pk type_of_field='documentation' markup_type=object.documentation.markup_type panel_type='info' content=object.documentation %} {% include "system_maintenance/_panel.html" %} {% endwith %} {% endif %} {% if object.maintenance_records.count %}
{% for record in object.maintenance_records.all %} {% include "system_maintenance/_maintenance_record_list_item.html" %} {% endfor %}
{% endif %}
{% endblock content %}