<%INIT>
my $request_path = $HTML::Mason::Commands::r->path_info;
$request_path =~ s!/{2,}!/!g;

return if $request_path =~ m{^/Ticket/History\.html};

my @types = RT->Config->Get('BriefHistoryTypes');
$$skip = 1 unless grep { $_ eq $Transaction->Type } @types;
</%INIT>
<%ARGS>
$Transaction
$skip
</%ARGS>
