[PR #4186] [CLOSED] "Show VLANs" Button in Device #12786

Closed
opened 2025-12-29 22:23:36 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4186
Author: @Arkasha99
Created: 2/17/2020
Status: Closed

Base: developHead: vlan_branch


📝 Commits (10+)

  • 425670f Merge pull request #3745 from netbox-community/develop
  • 50df3ac Merge pull request #3774 from netbox-community/develop
  • a0ae7a2 Merge pull request #3828 from netbox-community/develop
  • 25c3c1b Merge pull request #3829 from netbox-community/develop
  • 5c07b6d Merge pull request #3837 from netbox-community/develop
  • 9467790 Merge pull request #3908 from netbox-community/develop
  • ea91e09 Merge pull request #3938 from netbox-community/develop
  • 295d4f0 Merge pull request #3946 from netbox-community/develop
  • e13d4ff Merge pull request #3980 from netbox-community/develop
  • 3143f75 Merge pull request #4035 from netbox-community/develop

📊 Changes

3 files changed (+104 additions, -5 deletions)

View changed files

📝 netbox/project-static/js/interface_toggles.js (+16 -2)
📝 netbox/templates/dcim/device.html (+3 -0)
📝 netbox/templates/dcim/inc/interface.html (+85 -3)

📄 Description

Fixes: <#4126>

according to issue I added "Show VLANs" button to interface table in device viewpage. It works exactly like "Show IPs" button showing VLANs instead.
The table looks almost the same as VLANs table in interface viewpage.
The table has been added to interface.html, script is in js/interface_toggles.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/4186 **Author:** [@Arkasha99](https://github.com/Arkasha99) **Created:** 2/17/2020 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `vlan_branch` --- ### 📝 Commits (10+) - [`425670f`](https://github.com/netbox-community/netbox/commit/425670f52a203b437cf0770daecb5493a0b54f32) Merge pull request #3745 from netbox-community/develop - [`50df3ac`](https://github.com/netbox-community/netbox/commit/50df3acd266178b598d17955452ad2639d8e7165) Merge pull request #3774 from netbox-community/develop - [`a0ae7a2`](https://github.com/netbox-community/netbox/commit/a0ae7a227d4aebd7527922669b6a86655949da7a) Merge pull request #3828 from netbox-community/develop - [`25c3c1b`](https://github.com/netbox-community/netbox/commit/25c3c1b431b8b24c2a40dbbafce192dffdca84f1) Merge pull request #3829 from netbox-community/develop - [`5c07b6d`](https://github.com/netbox-community/netbox/commit/5c07b6dc1ddac4f1adf9ae703472a09f333de4a3) Merge pull request #3837 from netbox-community/develop - [`9467790`](https://github.com/netbox-community/netbox/commit/946779000fbd1f6677c1152a4e3f5b3a205c0e9b) Merge pull request #3908 from netbox-community/develop - [`ea91e09`](https://github.com/netbox-community/netbox/commit/ea91e09a1b76c1d389270734141623157827ab5f) Merge pull request #3938 from netbox-community/develop - [`295d4f0`](https://github.com/netbox-community/netbox/commit/295d4f0394b431351c0cb2c3ecc791df68c6c2fb) Merge pull request #3946 from netbox-community/develop - [`e13d4ff`](https://github.com/netbox-community/netbox/commit/e13d4ffe607ad73b34d08f1cc3af58af19acb445) Merge pull request #3980 from netbox-community/develop - [`3143f75`](https://github.com/netbox-community/netbox/commit/3143f75a38abf28adffbd47ba2a92e47231f22e8) Merge pull request #4035 from netbox-community/develop ### 📊 Changes **3 files changed** (+104 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/js/interface_toggles.js` (+16 -2) 📝 `netbox/templates/dcim/device.html` (+3 -0) 📝 `netbox/templates/dcim/inc/interface.html` (+85 -3) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: <#4126> <!-- Please include a summary of the proposed changes below. --> according to issue I added "Show VLANs" button to interface table in device viewpage. It works exactly like "Show IPs" button showing VLANs instead. The table looks almost the same as VLANs table in interface viewpage. The table has been added to interface.html, script is in js/interface_toggles. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:23:36 +01:00
adam closed this issue 2025-12-29 22:23:36 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12786