mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-22 07:52:15 +00:00
Basic diff between source -> HEAD or source -> dest.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Versions{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% for field, change in diff.items %}
|
||||
{{ change }}<br>
|
||||
{% autoescape off %}
|
||||
{{ change }}
|
||||
{% endautoescape %}
|
||||
<br>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
@@ -26,7 +26,7 @@
|
||||
<tbody>
|
||||
{% for version in object_list %}
|
||||
<tr>
|
||||
<td>{{ version.revision.pk }}</td>
|
||||
<td>{{ version.pk }}</td>
|
||||
<td>{{ version.revision.date_created }}</td>
|
||||
<td>{{ version.revision.user.name }}</td>
|
||||
<td>{% for key, old, new in version.changes %}
|
||||
|
||||
Reference in New Issue
Block a user