{% extends 'base/layout.html' %} {% block title %}Running config{% endblock %} {% block content %}

Running configuration

{% if message.repo_state.commits_count %} {{ message.repo_state.commits_count }} change(s) since {{ message.repo_state.first_commit_date }}. Last change: {{ message.repo_state.last_commit_date }} {% endif %}
{% if message.repo_state.error %}
Git error: {{ message.repo_state.error }}
{% endif %}
{# -- Running config ------------------------------------------------- #}
Running configuration
{% if message.status %}
{{ message.running_config }}
{% else %}
{{ message.comment }}
{% endif %}
{# -- Git diffs ------------------------------------------------------ #}
Change history
{% for commit in message.repo_state.commits reversed %}
{{ commit.date|date:"Y-m-d H:i" }} {{ commit.hash|slice:":8" }}
{% if commit.diff %} {% if commit.diff|length > 1000 %}
{{ commit.diff }}
{% else %}
{{ commit.diff }}
{% endif %} {% else %}
no diff
{% endif %}
{% empty %}

No commits found for this file.

{% endfor %}
{% endblock %}