|
@@ -130,13 +130,13 @@ class RIRTable(BaseTable):
|
|
|
stats_total = tables.Column(accessor='stats.total', verbose_name='Total',
|
|
|
footer=lambda table: sum(r.stats['total'] for r in table.data))
|
|
|
stats_active = tables.Column(accessor='stats.active', verbose_name='Active',
|
|
|
- footer=lambda table: sum(r.stats['active'] for r in table.data))
|
|
|
+ footer=lambda table: sum(r.stats['active'] for r in table.data))
|
|
|
stats_reserved = tables.Column(accessor='stats.reserved', verbose_name='Reserved',
|
|
|
- footer=lambda table: sum(r.stats['reserved'] for r in table.data))
|
|
|
+ footer=lambda table: sum(r.stats['reserved'] for r in table.data))
|
|
|
stats_deprecated = tables.Column(accessor='stats.deprecated', verbose_name='Deprecated',
|
|
|
- footer=lambda table: sum(r.stats['deprecated'] for r in table.data))
|
|
|
+ footer=lambda table: sum(r.stats['deprecated'] for r in table.data))
|
|
|
stats_available = tables.Column(accessor='stats.available', verbose_name='Available',
|
|
|
- footer=lambda table: sum(r.stats['available'] for r in table.data))
|
|
|
+ footer=lambda table: sum(r.stats['available'] for r in table.data))
|
|
|
utilization = tables.TemplateColumn(template_code=RIR_UTILIZATION, verbose_name='Utilization')
|
|
|
actions = tables.TemplateColumn(template_code=RIR_ACTIONS, attrs={'td': {'class': 'text-right'}}, verbose_name='')
|
|
|
|