{% extends "base_misc.html" %} {% block title %}Audit Log{% endblock %} {% block smallheader %}audit{% endblock %} {% block largeheader %}log{% endblock %} {% block nav1 %}misc{% endblock %} {% block content %} {% if no_git_repo_found %}

No git repository found in {{ nagiosdir }}.

{% csrf_token %}
{% endif %} {% if uncommited_files %}

There are uncommited files in your git repo

{% csrf_token %} {% for i in uncommited_files %} {% endfor %}
status filename
{{ i.status }} {{ i.filename }}
{% endif %} {% if commits %}

Previous changes (via git log)

{% for commit in commits %} {% endfor %}
Date Summary Name Email Actions
{{ commit.authortime }} {{ commit.comment }} {{ commit.author }} {{ commit.authoremail }} diff
{% else %}

No git commits found in {{ nagiosdir }}

{% endif %} {% if diff %}
{{ diff }}
        
{% endif %} {% endblock %} {% block sidebar %} {{ block.super }} {% endblock %} {% block footer %} {{ block.super }} {% endblock %}