Closes #6493: show ObjectChange diff for non-atomic changes

This commit is contained in:
drmsoffall
2021-06-05 18:46:52 +00:00
parent 0e72003a96
commit 43a42871bc
2 changed files with 15 additions and 5 deletions

View File

@@ -128,6 +128,8 @@
<span{% if k in diff_removed %} style="background-color: #ffdce0"{% endif %}>{{ k }}: {{ v|render_json }}</span>
{% endspaceless %}
{% endfor %}</pre>
{% elif non_atomic_change %}
Warning: Comparing non-atomic change to previous change record (<a href="{% url 'extras:objectchange' pk=prev_change.pk %}">{{ prev_change.pk }}</a>)
{% else %}
<span class="text-muted">None</span>
{% endif %}