mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 06:22:16 +00:00
//TODO Rather than have seperate asset templates, convert 'id' into a template variable
19 lines
621 B
HTML
19 lines
621 B
HTML
{% extends request.is_ajax|yesno:"base_ajax.html,base_assets.html" %}
|
|
{% load to_class_name from filters %}
|
|
{% load paginator from filters %}
|
|
{% load static %}
|
|
|
|
{% block title %}{{object|to_class_name}} {{ object.asset_id }} - Revision History{% endblock %}
|
|
|
|
{% block js %}
|
|
{% include 'version_scripts.html' %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="col-sm-12">
|
|
<h3><a href="{{ object.get_absolute_url }}">{{object|to_class_name}} {{ object.asset_id|default:object.pk }}</a> - Revision History</h3>
|
|
{% include 'partials/version_history_table.html' %}
|
|
<div>{% paginator %}</div>
|
|
</div>
|
|
{% endblock %}
|