{% extends 'generic/object.html' %} {% load static %} {% load oxidized_viewer %} {% block head %} {{ block.super }} {# Prism is vendored (static/netbox_oxidized_viewer/prism/) — air-gapped NetBox installs are the norm for this plugin's audience #} {% endblock head %} {% block content %}
Current Configuration
{% if latest_commit %} Last backed up: {{ latest_commit.timestamp|date:"Y-m-d H:i:s T" }} Download {% endif %} {% if sync_enabled %}
{% csrf_token %}
{% endif %}
{% if error_message %}
{{ error_message }}
{% elif config_content %}
{{ latest_commit.sha|slice:":7" }} {{ latest_commit.subject }} — {{ latest_commit.author_name }}
{{ config_content }}
{% endif %}
Commit History
{% for commit in commits %} {% empty %} {% endfor %}
Timestamp Commit Message Author Notes
{{ commit.timestamp|date:"Y-m-d H:i:s T" }} {{ commit.sha|slice:":7" }} {{ commit.subject }} {{ commit.author_name }} {% with n=note_counts|dictkey:commit.sha %} {% if n %} {{ n }}{% endif %} {% endwith %} Download Diff
No commits found.
{% endblock content %} {% block javascript %} {{ block.super }} {% endblock javascript %}