Make the display of none consistent in detail page

In load balancer detail page, when the value of 'description' and
'Flavor' is None there will display a '-'. But there display 'None'
when the value of the 'Floating IP' is none.
There should be the same style in the detail page, which is easier
for the user to accept.

Change-Id: I1ffa874ca679abde27733ab4d471a42dc8a90a06
This commit is contained in:
Qian Min Chen 2018-02-09 17:55:25 +08:00
parent 9d5c05900e
commit f46e58540e
5 changed files with 11 additions and 11 deletions

View File

@ -133,7 +133,7 @@
},
description: {
label: gettext('Description'),
filters: ['noValue']
filters: ['noName']
},
provisioning_status: {
label: gettext('Provisioning Status'),
@ -153,11 +153,11 @@
},
redirect_url: {
label: gettext('Redirect URL'),
filters: ['noName']
filters: ['noValue']
},
redirect_pool_id: {
label: gettext('Redirect Pool ID'),
filters: ['noName']
filters: ['noValue']
},
project_id: gettext('Project ID'),
created_at: {

View File

@ -156,11 +156,11 @@
},
key: {
label: gettext('Key'),
filters: ['noName']
filters: ['noValue']
},
rule_value: {
label: gettext('Value'),
filters: ['noName']
filters: ['noValue']
},
invert: {
label: gettext('Invert'),

View File

@ -134,7 +134,7 @@
},
description: {
label: gettext('Description'),
filters: ['noValue']
filters: ['noName']
},
provisioning_status: {
label: gettext('Provisioning Status'),
@ -167,7 +167,7 @@
sni_container_refs: gettext('SNI Container Refs'),
default_pool_id: {
label: gettext('Default Pool ID'),
filters: ['noName']
filters: ['noValue']
},
l7_policies: gettext('L7 Policies'),
insert_headers: {

View File

@ -148,7 +148,7 @@
},
description: {
label: gettext('Description'),
filters: ['noValue']
filters: ['noName']
},
provisioning_status: {
label: gettext('Provisioning Status'),
@ -184,7 +184,7 @@
},
floating_ip_address: {
label: gettext('Floating IP'),
filters: ['noName']
filters: ['noValue']
}
};
}

View File

@ -134,7 +134,7 @@
},
description: {
label: gettext('Description'),
filters: ['noValue']
filters: ['noName']
},
provisioning_status: {
label: gettext('Provisioning Status'),
@ -162,7 +162,7 @@
},
health_monitor_id: {
label: gettext('Health Monitor ID'),
filters: ['noName']
filters: ['noValue']
},
project_id: gettext('Project ID'),
created_at: {