From 6fcb872f0f297f2624812de1f1e1ca786e8f433c Mon Sep 17 00:00:00 2001 From: Jamie Murphy Date: Fri, 31 May 2024 17:22:58 +0100 Subject: [PATCH] allow plugins to extend objectchangeview with panels --- netbox/templates/extras/objectchange.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/netbox/templates/extras/objectchange.html b/netbox/templates/extras/objectchange.html index 368a71821..fd0022ce1 100644 --- a/netbox/templates/extras/objectchange.html +++ b/netbox/templates/extras/objectchange.html @@ -1,5 +1,6 @@ {% extends 'generic/object.html' %} {% load helpers %} +{% load plugins %} {% load i18n %} {% block title %}{{ object }}{% endblock %} @@ -144,6 +145,14 @@ +
+
+ {% plugin_left_page object %} +
+
+ {% plugin_right_page object %} +
+
{% include 'inc/panel_table.html' with table=related_changes_table heading='Related Changes' panel_class='default' %} @@ -158,4 +167,9 @@ {% endif %}
+
+
+ {% plugin_full_width_page object %} +
+
{% endblock %}