diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-16 14:29:41 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:26 +0200 |
commit | 511452ec41d7427fd284233ac39a50072d0ece55 (patch) | |
tree | 432e86c7f7ca5073f28320bed5c08c2cb117def3 /install/ui/src/freeipa/hbactest.js | |
parent | ff8580f441e39f416f302d4e52ddbc1a52102383 (diff) | |
download | freeipa-511452ec41d7427fd284233ac39a50072d0ece55.tar.gz freeipa-511452ec41d7427fd284233ac39a50072d0ece55.tar.xz freeipa-511452ec41d7427fd284233ac39a50072d0ece55.zip |
Replace formatter creation with definition in specs
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/hbactest.js')
-rw-r--r-- | install/ui/src/freeipa/hbactest.js | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/install/ui/src/freeipa/hbactest.js b/install/ui/src/freeipa/hbactest.js index 3b0796056..35a5c3a1f 100644 --- a/install/ui/src/freeipa/hbactest.js +++ b/install/ui/src/freeipa/hbactest.js @@ -50,9 +50,10 @@ IPA.hbac.test_entity = function(spec) { { name: 'nsaccountlock', label: '@i18n:status.label', - formatter: IPA.boolean_status_formatter({ + formatter: { + $type: 'boolean_status', invert_value: true - }) + } } ] }). @@ -69,7 +70,7 @@ IPA.hbac.test_entity = function(spec) { { name: 'has_keytab', label: '@i18n:objects.host.enrolled', - formatter: IPA.boolean_formatter() + formatter: 'boolean' } ] }). @@ -98,7 +99,7 @@ IPA.hbac.test_entity = function(spec) { { name: 'ipaenabledflag', label: '@i18n:status.label', - formatter: IPA.boolean_status_formatter() + formatter: 'boolean_status' }, 'description' ] @@ -116,12 +117,12 @@ IPA.hbac.test_entity = function(spec) { { name: 'matched', label: '@i18n:objects.hbactest.matched', - formatter: IPA.boolean_formatter() + formatter: 'boolean' }, { name: 'ipaenabledflag', label: '@i18n:status.label', - formatter: IPA.boolean_status_formatter() + formatter: 'boolean_status' }, 'description' ] |