<TABLE BORDER=0 width="100%">
<TR>
<TD ALIGN=LEFT>
% if ($ShowTitle) {
<font size=+3>History</font>
% }
&nbsp;</TD>
<TD align=right><font size=-1>Display mode: 
%  if ($ShowHeaders == $Ticket->Id) {
[<A HREF="<%$URIFile%>?id=<%$Ticket->id%>">Brief headers</a>]
<b>[Full headers]</b>
% } else {
<b>[Brief headers]</b>
[<A HREF="<%$URIFile%>?ShowHeaders=<%$Ticket->Id%>&id=<%$Ticket->id%>">Full headers</a>]
%  }
</font>
</TD>
</TR>
</TABLE>

<TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=2 BORDER=0>
% while (my $Transaction = $Transactions->Next) {
% $i++;
%	if ($Transactions->IsLast) {
	<a name="lasttrans"></a>
% 	}
	    <& ShowTransaction, Ticket => $Ticket, Transaction => $Transaction, ShowHeaders => $ShowHeaders, Collapsed => $Collapsed, RowNum => $i  &>
% }
</TABLE>
<%INIT>

my $Transactions = $Ticket->Transactions;
my $i;


</%INIT>
<%ARGS>
$URIFile => 'Display.html'
$Ticket => undef
$ShowHeaders => undef
$Collapsed => undef
$ShowTitle => 1
</%ARGS>
