[PR #9543] [MERGED] Replace None in templates with placeholder filter #13479

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/9543
Author: @hagbarddenstore
Created: 6/15/2022
Status: Merged
Merged: 6/17/2022
Merged by: @jeremystretch

Base: developHead: fix-9537


📝 Commits (1)

  • e8b9706 Replace None in templates with placeholder filter

📊 Changes

25 files changed (+57 additions, -57 deletions)

View changed files

📝 netbox/templates/circuits/circuit_terminations_swap.html (+2 -2)
📝 netbox/templates/circuits/inc/circuit_termination.html (+1 -1)
📝 netbox/templates/circuits/provider.html (+1 -1)
📝 netbox/templates/dcim/cable.html (+2 -2)
📝 netbox/templates/dcim/device.html (+6 -6)
📝 netbox/templates/dcim/devicerole.html (+1 -1)
📝 netbox/templates/dcim/devicetype.html (+2 -2)
📝 netbox/templates/dcim/interface.html (+4 -4)
📝 netbox/templates/dcim/powerfeed.html (+1 -1)
📝 netbox/templates/dcim/rack.html (+4 -4)
📝 netbox/templates/dcim/site.html (+5 -5)
📝 netbox/templates/dcim/virtualchassis_edit.html (+1 -1)
📝 netbox/templates/extras/customfield.html (+2 -2)
📝 netbox/templates/extras/htmx/report_result.html (+1 -1)
📝 netbox/templates/generic/bulk_import.html (+2 -2)
📝 netbox/templates/inc/panels/custom_fields.html (+1 -1)
📝 netbox/templates/ipam/ipaddress.html (+3 -3)
📝 netbox/templates/ipam/prefix.html (+4 -4)
📝 netbox/templates/ipam/role.html (+2 -2)
📝 netbox/templates/ipam/service.html (+1 -1)

...and 5 more files

📄 Description

Fixes: #9537

To be consistent, all uses of — or None is replaced with the
placeholder filter.


🔄 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/9543 **Author:** [@hagbarddenstore](https://github.com/hagbarddenstore) **Created:** 6/15/2022 **Status:** ✅ Merged **Merged:** 6/17/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `fix-9537` --- ### 📝 Commits (1) - [`e8b9706`](https://github.com/netbox-community/netbox/commit/e8b970608eda6b6d1f8596cbcd457492f372d73d) Replace None in templates with placeholder filter ### 📊 Changes **25 files changed** (+57 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/circuits/circuit_terminations_swap.html` (+2 -2) 📝 `netbox/templates/circuits/inc/circuit_termination.html` (+1 -1) 📝 `netbox/templates/circuits/provider.html` (+1 -1) 📝 `netbox/templates/dcim/cable.html` (+2 -2) 📝 `netbox/templates/dcim/device.html` (+6 -6) 📝 `netbox/templates/dcim/devicerole.html` (+1 -1) 📝 `netbox/templates/dcim/devicetype.html` (+2 -2) 📝 `netbox/templates/dcim/interface.html` (+4 -4) 📝 `netbox/templates/dcim/powerfeed.html` (+1 -1) 📝 `netbox/templates/dcim/rack.html` (+4 -4) 📝 `netbox/templates/dcim/site.html` (+5 -5) 📝 `netbox/templates/dcim/virtualchassis_edit.html` (+1 -1) 📝 `netbox/templates/extras/customfield.html` (+2 -2) 📝 `netbox/templates/extras/htmx/report_result.html` (+1 -1) 📝 `netbox/templates/generic/bulk_import.html` (+2 -2) 📝 `netbox/templates/inc/panels/custom_fields.html` (+1 -1) 📝 `netbox/templates/ipam/ipaddress.html` (+3 -3) 📝 `netbox/templates/ipam/prefix.html` (+4 -4) 📝 `netbox/templates/ipam/role.html` (+2 -2) 📝 `netbox/templates/ipam/service.html` (+1 -1) _...and 5 more files_ </details> ### 📄 Description ### Fixes: #9537 To be consistent, all uses of &mdash; or None is replaced with the placeholder filter. --- <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 23:19:06 +01:00
adam closed this issue 2025-12-29 23:19:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13479