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
This commit is contained in:
Endi Sukma Dewata
2012-01-31 09:57:33 -06:00
committed by Petr Voborník
parent 4dfec211f7
commit ea9d5e6f9a
11 changed files with 61 additions and 28 deletions

View File

@@ -44,7 +44,7 @@ IPA.user.entity = function(spec) {
{
name: 'nsaccountlock',
label: IPA.messages.status.label,
format: IPA.boolean_status_format({
formatter: IPA.boolean_status_formatter({
invert_value: true
})
},