Skip to content

Not working custom links not visible in dark mode #15616

@julianstolp

Description

@julianstolp

Deployment Type

Self-hosted

NetBox Version

v4.0-beta1

Python Version

3.10

Steps to Reproduce

  1. Create a not working Custom Link on any model eg:
    image
  2. Go to Model Device in light mode
    image
  3. Toggle to darkmode, see nothing
    image
  4. Do mousehover
    image

Expected Behavior

Button switches class to class="btn btn-sm btn-outline-light"
image

Observed Behavior

Button does not switch class="btn btn-sm btn-outline-dark"

<a class="btn btn-sm btn-outline-dark" disabled="disabled" title="'dcim.models.devices.Device object' has no attribute 'device_role'"><i class="mdi mdi-alert"></i> Test</a>

Metadata

Metadata

Assignees

Labels

betaConcerns a bug/feature in a beta releaseseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtopic: UI/UXUser interface or user experience related worktype: 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