From ea9d5e6f9aee8c371756b363925691ddc266eedf Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Tue, 31 Jan 2012 09:57:33 -0600 Subject: Added icons for status column. The status formatter was modified to show enabled/disabled icon before the status text. The format classes were renamed to formatter to avoid confusion with the format() method. A new parameter 'type' was added to the formatter to determine the output type (e.g. text/html). Ticket #1996 --- install/ui/hbactest.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'install/ui/hbactest.js') diff --git a/install/ui/hbactest.js b/install/ui/hbactest.js index e9b02a14c..0e77083ca 100644 --- a/install/ui/hbactest.js +++ b/install/ui/hbactest.js @@ -51,7 +51,7 @@ IPA.hbac.test_entity = function(spec) { { name: 'nsaccountlock', label: IPA.messages.status.label, - format: IPA.boolean_status_format({ + formatter: IPA.boolean_status_formatter({ invert_value: true }) } @@ -70,7 +70,7 @@ IPA.hbac.test_entity = function(spec) { { name: 'has_keytab', label: IPA.messages.objects.host.enrolled, - format: IPA.boolean_format() + formatter: IPA.boolean_formatter() } ] }). @@ -99,7 +99,7 @@ IPA.hbac.test_entity = function(spec) { { name: 'has_keytab', label: IPA.messages.objects.host.enrolled, - format: IPA.boolean_format() + formatter: IPA.boolean_formatter() } ] }). @@ -116,7 +116,7 @@ IPA.hbac.test_entity = function(spec) { { name: 'ipaenabledflag', label: IPA.messages.status.label, - format: IPA.boolean_status_format() + formatter: IPA.boolean_status_formatter() }, 'description' ] @@ -134,12 +134,12 @@ IPA.hbac.test_entity = function(spec) { { name: 'matched', label: IPA.messages.objects.hbactest.matched, - format: IPA.boolean_format() + formatter: IPA.boolean_formatter() }, { name: 'ipaenabledflag', label: IPA.messages.status.label, - format: IPA.boolean_status_format() + formatter: IPA.boolean_status_formatter() }, 'description' ] -- cgit