netbox-community / netbox-topology-views

A netbox plugin that draws topology views
Apache License 2.0
761 stars 64 forks source link

Closes #484: Show device information #573

Open dreng opened 1 month ago

dreng commented 1 month ago

Closes #484: Show device information

Adds a new filter field and a corresponding individual option that allows to display a label that consists of zero or more of the following components:

Caveats: While it is possible to store the order of the components in the database, Django will sort them in the widget automatically after reading the components from the database. There's not much we can do about it. According to my research, Django does this on purpose and the only way to solve the issue would be to write a custom widget. However, it is possible to arrange the components in the order you want if you select the components directly in the filter tab and do not inherit them from the individual options.