# --
# AgentHistoryRow.dtl - provides HTML form for history
# Copyright (C) 2001-2003 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: AgentHistoryRow.dtl,v 1.10 2003/12/19 01:01:40 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --

# should i show  the zoom link?
<dtl set $Data{"Link"} = "-">
<dtl if ($Data{"ArticleID"} ne "0") { $Data{"Link"} = "<a href="$Env{"Baselink"}Action=AgentZoom&TicketID=$Data{"TicketID"}&ArticleID=$Data{"ArticleID"}" onmouseover="window.status='$Text{"Zoom"}'; return true;" onmouseout="window.status='';">x</a>"; }>

<!-- start row-->
<tr> 
  <td>
  $Quote{"$Data{"HistoryType"}"}
  </td>
  <td>
  <div title="$Quote{"$Data{"Name"}"}">$Quote{"$Data{"Name"}","100"}</div>
  </td>
  <td align="CENTER">
    $Data{"Link"}
  </td>
  <td>
  <div title="$Quote{"$Data{"CreateBy"} ($Data{"UserFirstname"} $Data{"UserLastname"})"}">
  $Quote{"$Data{"CreateBy"}"} ($Quote{"$Data{"UserFirstname"} $Data{"UserLastname"}","20"})
  </div>
  </td>
  <td>
  $TimeLong{"$Data{"CreateTime"}"}
  </td>
</tr>
<!-- end row -->
