1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge branch 'develop' into feature

This commit is contained in:
jeremystretch
2022-07-20 12:20:33 -04:00
39 changed files with 418 additions and 444 deletions

View File

@@ -163,8 +163,9 @@ class RackElevationSVG:
# Embed device type image if provided
if self.include_images and image:
url = f'{self.base_url}{image.url}' if image.url.startswith('/') else image.url
image = Image(
href=f'{self.base_url}{image.url}',
href=url,
insert=coords,
size=size,
class_=f'device-image{css_extra}'