From b2061329c912fe73206af48a4590645d526446c6 Mon Sep 17 00:00:00 2001 From: LuPo <29709954@nwu.ac.za> Date: Tue, 9 Jun 2020 21:24:50 +0200 Subject: [PATCH] Role tag letter color adjast to background in VM view. Fixes #4737 --- netbox/virtualization/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/virtualization/tables.py b/netbox/virtualization/tables.py index 077add945..2bcb5ea08 100644 --- a/netbox/virtualization/tables.py +++ b/netbox/virtualization/tables.py @@ -29,7 +29,7 @@ VIRTUALMACHINE_STATUS = """ """ VIRTUALMACHINE_ROLE = """ -{% if record.role %}{% else %}—{% endif %} +{% if record.role %}{% load helpers %}{% else %}—{% endif %} """ VIRTUALMACHINE_PRIMARY_IP = """