mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Merge pull request #8953 from 991jo/fix-8952
Fixed #8952: rack rear faces link not clickable
This commit is contained in:
commit
124fc73386
@ -146,10 +146,10 @@ class RackElevationSVG:
|
|||||||
class_='device-image'
|
class_='device-image'
|
||||||
)
|
)
|
||||||
image.fit(scale='slice')
|
image.fit(scale='slice')
|
||||||
drawing.add(image)
|
link.add(image)
|
||||||
drawing.add(drawing.text(get_device_name(device), insert=text, stroke='black',
|
link.add(drawing.text(get_device_name(device), insert=text, stroke='black',
|
||||||
stroke_width='0.2em', stroke_linejoin='round', class_='device-image-label'))
|
stroke_width='0.2em', stroke_linejoin='round', class_='device-image-label'))
|
||||||
drawing.add(drawing.text(get_device_name(device), insert=text, fill='white', class_='device-image-label'))
|
link.add(drawing.text(get_device_name(device), insert=text, fill='white', class_='device-image-label'))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _draw_empty(drawing, rack, start, end, text, id_, face_id, class_, reservation):
|
def _draw_empty(drawing, rack, start, end, text, id_, face_id, class_, reservation):
|
||||||
|
Loading…
Reference in New Issue
Block a user