Consolidate logic for rendering configuration templates #10564

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

Originally created by @jeremystretch on GitHub (Dec 11, 2024).

Originally assigned to: @alehaa on GitHub.

Proposed Changes

Introduce a mixin class and common HTML template to handle rendering configuration templates for both devices and virtual machines.

Justification

DeviceRenderConfigView and VirtualMachineRenderConfigView are largely redundant. Introducing a common parent mixin and inclusion template will reduce duplicate code.

Originally created by @jeremystretch on GitHub (Dec 11, 2024). Originally assigned to: @alehaa on GitHub. ### Proposed Changes Introduce a mixin class and common HTML template to handle rendering configuration templates for both devices and virtual machines. ### Justification DeviceRenderConfigView and VirtualMachineRenderConfigView are largely redundant. Introducing a common parent mixin and inclusion template will reduce duplicate code.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 21:33:12 +01:00
adam closed this issue 2025-12-29 21:33:12 +01:00
Author
Owner

@alehaa commented on GitHub (Feb 1, 2025):

I volunteer to work on this.

@alehaa commented on GitHub (Feb 1, 2025): I volunteer to work on this.
Author
Owner

@jeremystretch commented on GitHub (Feb 3, 2025):

@alehaa assigned to you.

@jeremystretch commented on GitHub (Feb 3, 2025): @alehaa assigned to you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10564