Commit 4bd6a106 authored by Christian Loos's avatar Christian Loos Committed by Alex Vandiver
Browse files

add Disabled column map entries for Classes, Groups and Users

parent feb31417
......@@ -62,6 +62,11 @@ my $COLUMN_MAP = {
attribute => 'Description',
value => sub { return $_[0]->Description() },
},
Disabled => {
title => 'Status', # loc
attribute => 'Disabled',
value => sub { return $_[0]->Disabled? $_[0]->loc('Disabled'): $_[0]->loc('Enabled') },
},
};
......
......@@ -78,6 +78,10 @@ my $COLUMN_MAP = {
attribute => 'Description',
value => sub { return $_[0]->Description() },
},
Disabled => {
title => 'Status', # loc
value => sub { return $_[0]->Disabled? $_[0]->loc('Disabled'): $_[0]->loc('Enabled') },
},
};
</%ONCE>
......
......@@ -142,6 +142,10 @@ my $COLUMN_MAP = {
attribute => 'FreeformContactInfo',
value => sub { return $_[0]->FreeformContactInfo() },
},
Disabled => {
title => 'Status', # loc
value => sub { return $_[0]->Disabled? $_[0]->loc('Disabled'): $_[0]->loc('Enabled') },
},
};
</%ONCE>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment