%# A vacuum is a hell of a lot better than some of the stuff that nature
%# replaces it with.
%# 		-- Tennessee Williams
<& /Edit/Elements/List,
    Data  => [
	[ '30%', loc('Group Name'),	    sub { loc($_[0]->Type) || $_[0]->Name } ],
($RT::OIN104 ? (
	[ '40%', loc('Group Description'),  sub {
	    int($_[0]->Description) ? (
		loc('HRMSDefined') .
		($show_company ? ' (' . $_[0]->CompanyName . ')' : '')
	    ) : loc($_[0]->Domain)
	} ],
) : ()),
	[ '30%', loc('Group Status'),	    sub {
	    ($_[0] == $RT::Nothing) ? '' : $_[0]->Disabled ? loc('Disabled') : loc('Open')
	} ],
    ],
    Link    => sub {
	"index.html?Queue=$ARGS->{Queue}&Begin=$Begin&Show=$ARGS->{Show}&Group=" . $_[0]->Id
    },
    Size    => 16,
    %ARGS,
&>
<%INIT>
my $show_company = not (
    $session{CurrentUser}->UserObj->Attribute('Company') and
    $RT::CompanySpecific
);
</%INIT>
<%ARGS>
$Begin	=> 0
$ARGS	=> {}
</%ARGS>
