mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
General cleanup of tables
This commit is contained in:
@@ -197,7 +197,7 @@ class ColorColumn(tables.Column):
|
||||
"""
|
||||
def render(self, value):
|
||||
return mark_safe(
|
||||
'<span class="label color-block" style="background-color: #{}"> </span>'.format(value)
|
||||
f'<span class="label color-block" style="background-color: #{value}"> </span>'
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user