mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Automatic creation of views/urls for anything registered with reversion, with a small amount of hackage to preserve legacy stuff. (and the DAMNED asset IDs!) I would never get distracted...
18 lines
612 B
HTML
18 lines
612 B
HTML
{% extends override|default:'base_rigs.html' %}
|
|
{% load to_class_name from filters %}
|
|
{% load paginator from filters %}
|
|
|
|
{% block title %}{{object|to_class_name}} {{ object.display_id|default:object.pk }} - Revision History{% endblock %}
|
|
|
|
{% block js %}
|
|
{% include 'partials/version_scripts.html' %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="col-sm-12">
|
|
<h3><a href="{{ object.get_absolute_url }}">{{object|to_class_name}} {{ object.display_id|default:object.pk }}</a> - Revision History</h3>
|
|
{% include 'partials/version_history_table.html' %}
|
|
<div>{% paginator %}</div>
|
|
</div>
|
|
{% endblock %}
|