Cell empty value defaults to - removing redundancy
The default value empty_value for a cell is horizon/tables/base.py is "-", it is redundant and unnecessary to specify this column definitions. Closes-Bug: #1398904 Change-Id: Ica3e8f1559effe6b11f4e81d303758a869acbe2b
This commit is contained in:
parent
b1ffe3b53c
commit
5b8170e5bd
|
@ -194,11 +194,9 @@ class FloatingIPsTable(tables.DataTable):
|
|||
attrs={'data-type': "ip"})
|
||||
fixed_ip = tables.Column(get_instance_info,
|
||||
link=get_instance_link,
|
||||
verbose_name=_("Mapped Fixed IP Address"),
|
||||
empty_value=_("-"))
|
||||
verbose_name=_("Mapped Fixed IP Address"))
|
||||
pool = tables.Column("pool_name",
|
||||
verbose_name=_("Pool"),
|
||||
empty_value=_("-"))
|
||||
verbose_name=_("Pool"))
|
||||
status = tables.Column("status",
|
||||
verbose_name=_("Status"),
|
||||
status=True,
|
||||
|
|
|
@ -352,8 +352,7 @@ class VolumesTable(VolumesTableBase):
|
|||
verbose_name=_("Name"),
|
||||
link="horizon:project:volumes:volumes:detail")
|
||||
volume_type = tables.Column(get_volume_type,
|
||||
verbose_name=_("Type"),
|
||||
empty_value=_("-"))
|
||||
verbose_name=_("Type"))
|
||||
attachments = AttachmentColumn("attachments",
|
||||
verbose_name=_("Attached To"))
|
||||
availability_zone = tables.Column("availability_zone",
|
||||
|
|
Loading…
Reference in New Issue