-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v2.11.11
Python version
3.6
Steps to Reproduce
- Find any IP address which has a "role" set (e.g. Loopback, VRRP etc)
- 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.
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:
and is still clickable, albeit now not visually called out as a hyperlink.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application

