From acdebea7f178cb5d33ec1798b368e25bd0fa06d0 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Wed, 27 Oct 2021 15:44:42 -0400 Subject: [PATCH] Improve visibility of modified values --- netbox/templates/admin/extras/configrevision/restore.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netbox/templates/admin/extras/configrevision/restore.html b/netbox/templates/admin/extras/configrevision/restore.html index 15531de2d..4a0eb81a6 100644 --- a/netbox/templates/admin/extras/configrevision/restore.html +++ b/netbox/templates/admin/extras/configrevision/restore.html @@ -1,4 +1,5 @@ {% extends "admin/base_site.html" %} +{% load static %} {% block content %}

Restore configuration #{{ object.pk }} from {{ object.created }}?

@@ -9,14 +10,16 @@ Parameter Current Value New Value + {% for param, current, new in params %} - + {{ param }} {{ current }} {{ new }} + {% if current != new %}*{% endif %} {% endfor %}