{% table_header columns url_query sort fugue_icons=1 %}
{% if mode == "assets" %}
{% for f in bob_page %}
{% if f.ci %}{{ f.ci }}{% endif %} |
{{ f.created }} |
{{ f.time }} |
{{ f.content_object.user.get_full_name }} |
{{ f.content_object.field_name }} |
{{ f.content_object.old_value }} |
{{ f.content_object.new_value }} |
{{ f.message }} |
{% endfor %}
{% elif mode == "zabbix" %}
{% for f in bob_page %}
{% if f.ci %}{{ f.ci }}{% endif %} |
{{ f.created }} |
{{ f.host }} |
{{ f.status }} |
{{ f.priority }} |
{{ f.description }} |
{{ f.lastchange }} |
{{ f.comments }} |
{% endfor %}
{% elif mode == "git" %}
{% for f in bob_page %}
{% if f.ci %}{{ f.ci }}{% endif %} |
{{ f.created }} |
{{ f.time|default:"" }} |
{{ f.file_paths }} |
{{ f.comment }} |
{{ f.author }} |
{{ f.changeset }} |
{% endfor %}
{% elif mode == "puppet" %}
{% for f in bob_page %}
{% if f.ci %}{{ f.ci }}{% endif %} |
{{ f.created }} |
{{ f.time }} |
{{ f.configuration_version }} |
{{ f.host }} |
{{ f.kind }} |
{{ f.status }} |
Puppet logs: |
Time |
Source |
Message |
Tags |
Level |
{% for col in f.archivedpuppetlog_set.all %}
{{ col.time }} |
{{ col.source }} |
{{ col.message }} |
{{ col.tags }} |
{{ col.level }} |
{% endfor %}
|
{% endfor %}
{% elif mode == "cmdb" %}
{% for f in bob_page %}
{% if f.ci %}{{ f.ci }}{% endif %} |
{{ f.created }} |
{{ f.time }} |
{{ f.user.get_full_name }} |
{{ f.field_name }} |
{{ f.old_value }} |
{{ f.new_value }} |
{{ f.comment }} |
{% endfor %}
{% endif %}
{% pagination bob_page url_query=url_query show_all=0 show_csv=0 fugue_icons=1 %}
{% endblock %}