Skip to content

Extend #10268 and display whole rack-units for device-type, child device positions #10465

@phurrelmann

Description

@phurrelmann

NetBox version

v3.3.4

Feature type

Change to existing functionality

Proposed functionality

Since introduction of half rack-units, the rack-units for device-type and child device positions are always displayed as floats.
The changes done with #10268 should also be added to device-type and child device position on the device details view.

Please assign to me if accepted. I'll try to flesh out a PR for that.

Use case

Rack-positions shown as "1.0" can easily be misread as "10" and thus should be avoided where possible. Additionally this restores the pre v3.3 behavior.

Database changes

none, change should only be cosmetic

External dependencies

none

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions