This commit is contained in:
Mattijs Vanhaverbeke
2020-05-17 16:45:19 +02:00
parent 940b37428c
commit 85b27895e2
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ class TopologyViewsConfig(PluginConfig):
name = 'netbox_topology_views'
verbose_name = 'Topology views'
description = 'An plugin to render toplogoy maps'
version = '0.4.2'
version = '0.4.3'
author = 'Mattijs Vanhaverbeke'
author_email = 'author@example.com'
base_url = 'topology-views'
+1 -1
View File
@@ -163,7 +163,7 @@ class SearchViewSet(GenericViewSet):
node = {}
node["id"] = device.id
node["name"] = dev_name
node["label"] = dev_name + " " + cable_role_name
node["label"] = dev_name + " {" + cable_role_name + "}"
node["shape"] = 'image'
if device.device_role.slug in settings.PLUGINS_CONFIG["netbox_topology_views"]["device_img"]:
node["image"] = '../../static/netbox_topology_views/img/' + device.device_role.slug + ".png"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"private": true,
"name": "netbox_topology_views",
"version": "0.4.2",
"version": "0.4.3",
"scripts": {
"resources": "gulp build",
"resources_dev": "gulp build_dev"
+1 -1
View File
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name='netbox-topology-views',
version='0.4.2',
version='0.4.3',
description='An NetBox plugin to create Topology maps',
url='https://github.com/mattieserver/netbox-topology-views',
author='Mattijs Vanhaverbeke',