Allow plugins to extend objectchange.html (changeview) template #9771

Closed
opened 2025-12-29 21:22:24 +01:00 by adam · 2 comments
Owner

Originally created by @ITJamie on GitHub (May 29, 2024).

Originally assigned to: @ITJamie on GitHub.

NetBox version

v4.0.3

Feature type

Change to existing functionality

Proposed functionality

Allow plugins to use the PluginTemplateExtension feature to extend the objectchange.html (changeview) template with additional panels. (/netbox/netbox/templates/extras/objectchange.html)

I've tested this locally and it is as simple as adding {% load plugins %} to the template along with the panel placements
eg:

<div class="row">
  <div class="col col-md-12">
    {% plugin_full_width_page object %}
  </div>
</div>

Use case

I have an internal plugin that I wish to add some panels to the changelog view that will point out some business-related information about changes.

Database changes

N/A

External dependencies

N/A

Originally created by @ITJamie on GitHub (May 29, 2024). Originally assigned to: @ITJamie on GitHub. ### NetBox version v4.0.3 ### Feature type Change to existing functionality ### Proposed functionality Allow plugins to use the `PluginTemplateExtension` feature to extend the objectchange.html (changeview) template with additional panels. (/netbox/netbox/templates/extras/objectchange.html) I've tested this locally and it is as simple as adding `{% load plugins %}` to the template along with the panel placements eg: ``` <div class="row"> <div class="col col-md-12"> {% plugin_full_width_page object %} </div> </div> ``` ### Use case I have an internal plugin that I wish to add some panels to the changelog view that will point out some business-related information about changes. ### Database changes N/A ### External dependencies N/A
adam added the status: acceptedtype: featurecomplexity: low labels 2025-12-29 21:22:24 +01:00
adam closed this issue 2025-12-29 21:22:24 +01:00
Author
Owner

@ITJamie commented on GitHub (May 29, 2024):

If accepted I am happy to make the PR for this

@ITJamie commented on GitHub (May 29, 2024): If accepted I am happy to make the PR for this
Author
Owner

@arthanson commented on GitHub (May 31, 2024):

@ITJamie sounds good, will assign it to you.

@arthanson commented on GitHub (May 31, 2024): @ITJamie sounds good, will assign it to you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9771