File tree 4 files changed +7
-4
lines changed
4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ class RackGroupTable(BaseTable):
26
26
pk = ToggleColumn ()
27
27
name = tables .TemplateColumn (
28
28
template_code = MPTT_LINK ,
29
- orderable = False
29
+ orderable = False ,
30
+ attrs = {'td' : {'class' : 'text-nowrap' }}
30
31
)
31
32
site = tables .LinkColumn (
32
33
viewname = 'dcim:site' ,
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ class RegionTable(BaseTable):
19
19
pk = ToggleColumn ()
20
20
name = tables .TemplateColumn (
21
21
template_code = MPTT_LINK ,
22
- orderable = False
22
+ orderable = False ,
23
+ attrs = {'td' : {'class' : 'text-nowrap' }}
23
24
)
24
25
site_count = tables .Column (
25
26
verbose_name = 'Sites'
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ class PrefixTable(BaseTable):
270
270
pk = ToggleColumn ()
271
271
prefix = tables .TemplateColumn (
272
272
template_code = PREFIX_LINK ,
273
- attrs = {'th ' : {'style ' : 'padding-left: 17px ' }}
273
+ attrs = {'td ' : {'class ' : 'text-nowrap ' }}
274
274
)
275
275
status = ChoiceFieldColumn (
276
276
default = AVAILABLE_LABEL
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ class TenantGroupTable(BaseTable):
27
27
pk = ToggleColumn ()
28
28
name = tables .TemplateColumn (
29
29
template_code = MPTT_LINK ,
30
- orderable = False
30
+ orderable = False ,
31
+ attrs = {'td' : {'class' : 'text-nowrap' }}
31
32
)
32
33
tenant_count = LinkedCountColumn (
33
34
viewname = 'tenancy:tenant_list' ,
You can’t perform that action at this time.
0 commit comments