summaryrefslogtreecommitdiffstats
path: root/install/ui/host.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-03-31 15:32:29 -0400
committerAdam Young <ayoung@redhat.com>2011-03-31 17:29:33 -0400
commit6948c0813dff35afadd63bc0647271f00bfc566f (patch)
tree19a212045037900336bcf2cd963491f87a85a9d9 /install/ui/host.js
parentef57ee0d936a910407a940273f1dbd9ff084fffa (diff)
downloadfreeipa-6948c0813dff35afadd63bc0647271f00bfc566f.tar.gz
freeipa-6948c0813dff35afadd63bc0647271f00bfc566f.tar.xz
freeipa-6948c0813dff35afadd63bc0647271f00bfc566f.zip
code review fixes
this version includes using spec for detail_facets
Diffstat (limited to 'install/ui/host.js')
-rw-r--r--install/ui/host.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/install/ui/host.js b/install/ui/host.js
index 3f9c05d1d..dc1c0ee15 100644
--- a/install/ui/host.js
+++ b/install/ui/host.js
@@ -36,9 +36,9 @@ IPA.entity_factories.host = function () {
}],
add_fields: ['fqdn', {factory:IPA.force_host_add_checkbox_widget}]
}).
- details_facet([
+ details_facet({sections:[
{
- section:'details',
+ name:'details',
fields: [
'fqdn',
'krbprincipalname',
@@ -51,7 +51,7 @@ IPA.entity_factories.host = function () {
'description' ]
},
{
- section:'enrollment',
+ name:'enrollment',
fields:[
{
factory: IPA.host_provisioning_status_widget,
@@ -61,7 +61,7 @@ IPA.entity_factories.host = function () {
]
},
{
- section :'certificate',
+ name:'certificate',
fields:[
{
factory: IPA.host_certificate_status_widget,
@@ -69,7 +69,7 @@ IPA.entity_factories.host = function () {
label: IPA.messages.objects.host.status
}
]
- }]).
+ }]}).
facet(IPA.host_managedby_host_facet({
name: 'managedby_host'
})).
@@ -85,7 +85,7 @@ IPA.entity_factories.host = function () {
name: 'memberof_role',
associator: IPA.serial_associator
}).
- standard_associations().
+ standard_association_facets().
build();
};