{%extends 'cmdb/base.html'%} {% load bob %} {% load icons %} {% load query %} {% block content %}
{% for f in form %} {{ f.label_tag }} {{ f }} {% endfor %}

Changes

{% spaceless %} {% include 'cmdb/column-header.html' with label='Time' name='time' always=1 %} {% include 'cmdb/column-header.html' with label='Comment' name='comment' always=1%} {% include 'cmdb/column-header.html' with label='Configuration Item' name='ci' always=1%} {% include 'cmdb/column-header.html' with label='Type' name='priority' always=1%} {% include 'cmdb/column-header.html' with label='Source' name='type' always=1%} {% include 'cmdb/column-header.html' with label='Jira Ticket' name='ticket' always=1%} {% include 'cmdb/column-header.html' with label='Details' name='details' always=1%} {% endspaceless %} {% for change in changes %} {% endfor %}
{{ change.0.time|timesince_limited }} {{ change.0.message|truncatechars:40 }} {% if change.1 %} {% icon change.1 %} {% endif %} {{ change.0.ci.name}} {% if change.0.priority == 4 %} {% icon 'fugue-exclamation-red' %} {% elif change.0.priority == 3 %} {% icon 'fugue-exclamation' %} {% elif change.0.priority == 2 %} {% icon 'fugue-exclamation-white' %} {% else %} {% endif %} {{ change.0.get_priority_display}} {% if change.0.type == 2 %} {% icon 'fugue-disc--arrow' %} {% elif change.0.type == 1 %} {% icon 'fugue-blue-document-node' %} {% elif change.0.type == 3 %} {% icon 'fugue-computer' %} {% endif %} {{ change.0.get_type_display}} {{ change.0.external_key }} {% if change.0.type == 4 %} {% icon 'fugue-report' %} View in Zabbix {% elif change.0.type == 5 %} {% icon 'fugue-report' %} View in SO {% else %} {% icon 'fugue-report' %} View {% endif %}

{% pagination page url_query=url_query show_all=0 show_csv=1 fugue_icons=1 %} {% endblock %}