Merge pull request #8953 from 991jo/fix-8952

Fixed #8952: rack rear faces link not clickable
This commit is contained in:
Jeremy Stretch 2022-03-24 10:53:42 -04:00 committed by GitHub
commit 124fc73386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):