Use type rather than type_name
Senlin api return {"type": "os.nova.server-1.0"} Change-Id: Ie983f308e8f9e4dfd457b98f61c5648c98bf7b3b
This commit is contained in:
parent
a43185c9e3
commit
abaab0400d
|
@ -1,5 +1,5 @@
|
|||
<hz-resource-property-list
|
||||
resource-type-name="OS::Senlin::Profile"
|
||||
item="item"
|
||||
property-groups="[['id', 'name', 'type_name'], ['created_at', 'updated_at']]">
|
||||
property-groups="[['id', 'name', 'type'], ['created_at', 'updated_at']]">
|
||||
</hz-resource-property-list>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
resource-type-name="OS::Senlin::Profile"
|
||||
cls="dl-horizontal"
|
||||
item="ctrl.profile"
|
||||
property-groups="[['name', 'id', 'type_name', 'spec', 'metadata', 'created_at']]">
|
||||
property-groups="[['name', 'id', 'type', 'spec', 'metadata', 'created_at']]">
|
||||
</hz-resource-property-list>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
urlFunction: profileService.getDetailsPath
|
||||
})
|
||||
.append({
|
||||
id: 'type_name',
|
||||
id: 'type',
|
||||
priority: 1
|
||||
})
|
||||
.append({
|
||||
|
@ -85,7 +85,7 @@
|
|||
return {
|
||||
id: { label: gettext('ID'), filters: ['noValue'] },
|
||||
name: { label: gettext('Name'), filters: ['noName'] },
|
||||
type_name: { label: gettext('Type'), filters: ['noValue'] },
|
||||
type: { label: gettext('Type'), filters: ['noValue'] },
|
||||
spec: { label: gettext('Spec')},
|
||||
metadata: { label: gettext('Metadata')},
|
||||
created_at: { label: gettext('Created'), filters: ['simpleDate'] },
|
||||
|
|
Loading…
Reference in New Issue