{% load render_table from django_tables2 %} {% block content %}
{% if cdevice %} {% if cdevice.contract.status == "active" %}
{% else %}
{% endif %}
Maintenance
Contract {{ cdevice.contract|linkify }}
From {{ cdevice.contract.start_of_contract }}
Till {{ cdevice.contract.end_of_contract }}
Status {{ cdevice.contract.status }}
{% else %}
Maintenance
No Contract found!
{% endif %}
{% include 'inc/panels/comments.html' %}
{% endblock content %}