import of rt 3.0.4
[freeside.git] / rt / html / Ticket / Elements / ShowDates
1 %# BEGIN LICENSE BLOCK
2 %# 
3 %# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
4 %# 
5 %# (Except where explictly superceded by other copyright notices)
6 %# 
7 %# This work is made available to you under the terms of Version 2 of
8 %# the GNU General Public License. A copy of that license should have
9 %# been provided with this software, but in any event can be snarfed
10 %# from www.gnu.org.
11 %# 
12 %# This work is distributed in the hope that it will be useful, but
13 %# WITHOUT ANY WARRANTY; without even the implied warranty of
14 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 %# General Public License for more details.
16 %# 
17 %# Unless otherwise specified, all modifications, corrections or
18 %# extensions to this work which alter its source code become the
19 %# property of Best Practical Solutions, LLC when submitted for
20 %# inclusion in the work.
21 %# 
22 %# 
23 %# END LICENSE BLOCK
24 <TABLE>
25   <TR>
26     <TD class="label"><&|/l&>Created</&>:</TD>
27     <TD class="value"><% $Ticket->CreatedObj->AsString %></TD>
28   </TR>
29   <TR>
30     <TD class="label"><&|/l&>Starts</&>:</TD>
31     <TD class="value"><% $Ticket->StartsObj->AsString %></TD>
32   </TR>
33   <TR>
34     <TD class="label"><&|/l&>Started</&>:</TD>
35     <TD class="value"><% $Ticket->StartedObj->AsString %></TD>
36   </TR>
37   <TR>
38     <TD class="label"><&|/l&>Last Contact</&>:</TD>
39     <TD class="value"><% $Ticket->ToldObj->AsString %></TD>
40   </TR>
41   <TR>
42     <TD class="label"><&|/l&>Due</&>:</TD>
43     <TD class="value"><% $Ticket->DueObj->AsString  %></TD>
44   </TR>
45   <TR>
46     <TD class="label"><&|/l&>Closed</&>:</TD>
47     <TD class="value"><% $Ticket->ResolvedObj->AsString  %></TD>
48   </TR>
49   <TR>
50     <TD class="label"><&|/l&>Updated</&>:</TD>
51     <TD class="value"><A HREF="#lasttrans"><% $Ticket->LastUpdated ? (loc("[_1] by [_2]", $Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)) : loc("Never") | h %></a></TD>
52   </TR>
53 </TABLE>
54 <%ARGS>
55 $Ticket => undef
56 </%ARGS>