Merge pull request #4021 from hellerve/veit/fix-4019

SVG Elevation: Add borders on the rear of devices as well
This commit is contained in:
Jeremy Stretch 2020-01-27 09:32:53 -05:00 committed by GitHub
commit 27d70b6b51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -405,7 +405,7 @@ class RackElevationHelperMixin:
@staticmethod
def _draw_device_rear(drawing, device, start, end, text):
rect = drawing.rect(start, end, class_="blocked")
rect = drawing.rect(start, end, class_="slot blocked")
rect.set_desc('{}{} ({}U) {} {}'.format(
device.device_role, device.device_type.display_name,
device.device_type.u_height, device.asset_tag or '', device.serial or ''