Skip to content

IP address "role" isn't displayed as a label #6974

@candlerb

Description

@candlerb

NetBox version

v2.11.11

Python version

3.6

Steps to Reproduce

  1. Find any IP address which has a "role" set (e.g. Loopback, VRRP etc)
  2. Browse to the IP address details page: /ipam/ip-addresses/<N>/

Expected Behavior

I expected both "Status" and "Role" to be displayed in their color 'label' form, consistent with how they are displayed in tables.

Observed Behavior

The "Status" is displayed as a label, but the "Role" is displayed as plain text.

image

I note that the "Role" is a hyperlink here (although the status isn't. Maybe the inconsistent rendering is to call out the fact that it is clickable.

However it can be made visually consistent by adding a class to the hyperlink, e.g. <a class="label label-success" href="..."> which renders as:

image

and is still clickable, albeit now not visually called out as a hyperlink.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions