add return_url to 'xx ips available' buttom #10135

Closed
opened 2025-12-29 21:27:19 +01:00 by adam · 1 comment
Owner

Originally created by @PieterL75 on GitHub (Aug 23, 2024).

Originally assigned to: @alehaa on GitHub.

NetBox version

v4.0.8

Feature type

Change to existing functionality

Proposed functionality

In a prefix-ipaddress overview, there is a label with available ips'.
clicking that brings you to the edit page of the first ip available.
https://netbox/ipam/ip-addresses/add/?address=172.26.24.133/27&vrf=9
image

my proposal is to add a 'return_url' to that link, similar as on the '+ Add IP Address' button on the topright
https://netbox/ipam/ip-addresses/add/?address=172.26.24.133/27&vrf=9&return_url=/ipam/prefixes/8755/ip-addresses/
image

Use case

This will make the behavior consistent for both buttons.

Database changes

No response

External dependencies

No response

Originally created by @PieterL75 on GitHub (Aug 23, 2024). Originally assigned to: @alehaa on GitHub. ### NetBox version v4.0.8 ### Feature type Change to existing functionality ### Proposed functionality In a prefix-ipaddress overview, there is a label with available ips'. clicking that brings you to the edit page of the first ip available. https://netbox/ipam/ip-addresses/add/?address=172.26.24.133/27&vrf=9 ![image](https://github.com/user-attachments/assets/5387355e-557d-4ca5-9ca6-c245f8212371) my proposal is to add a 'return_url' to that link, similar as on the '+ Add IP Address' button on the topright https://netbox/ipam/ip-addresses/add/?address=172.26.24.133/27&vrf=9&return_url=/ipam/prefixes/8755/ip-addresses/ ![image](https://github.com/user-attachments/assets/a79f137f-377a-45be-a9b4-5f75ad9f3b12) ### Use case This will make the behavior consistent for both buttons. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: featurecomplexity: low labels 2025-12-29 21:27:19 +01:00
adam closed this issue 2025-12-29 21:27:19 +01:00
Author
Owner

@alehaa commented on GitHub (Sep 25, 2024):

I can file a PR for this.

@alehaa commented on GitHub (Sep 25, 2024): I can file a PR for this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10135