diff options
author | ivan <ivan> | 2002-08-12 06:17:09 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-08-12 06:17:09 +0000 |
commit | 3ef62a0570055da710328937e7f65dbb2c027c62 (patch) | |
tree | d549158b172fd499b4f81a2981b62aabbde4f99b /rt/webrt/Ticket/Elements/ShowBasics | |
parent | 030438c9cb1c12ccb79130979ef0922097b4311a (diff) |
import rt 2.0.14
Diffstat (limited to 'rt/webrt/Ticket/Elements/ShowBasics')
-rwxr-xr-x | rt/webrt/Ticket/Elements/ShowBasics | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/rt/webrt/Ticket/Elements/ShowBasics b/rt/webrt/Ticket/Elements/ShowBasics new file mode 100755 index 000000000..97c84c9d0 --- /dev/null +++ b/rt/webrt/Ticket/Elements/ShowBasics @@ -0,0 +1,29 @@ + <TABLE WIDTH="100%"> + <TR> + <TD VALIGN=TOP WIDTH="20%"> + <& /Elements/ShadedBox, title => 'Id' , content => $Ticket->Id &> + </TD> + <TD VALIGN=TOP WIDTH="20%"> <& /Elements/ShadedBox, title => 'Status' , content => $Ticket->Status &> + </TD> + <TD VALIGN=TOP WIDTH="20%"> + <& /Elements/ShadedBox, title => 'Worked' , content => $TimeWorked ." min" &> + </TD> + <TD VALIGN=TOP WIDTH="20%"> + <& /Elements/ShadedBox, title => 'Priority', content=> $Ticket->Priority."/".$Ticket->FinalPriority &> + </TD> + <TD VALIGN=TOP WIDTH="20%"> + <& /Elements/ShadedBox, title => 'Queue', content=> $Ticket->QueueObj->Name &> + </TD> + + + </TR> + </TABLE> +<%INIT> +my $TimeWorked = $Ticket->TimeWorked; +if ($Ticket->TimeLeft > 0 ) { + $TimeWorked = $Ticket->TimeWorked."/".$Ticket->TimeLeft; +} +</%INIT> +<%ARGS> +$Ticket => undef +</%ARGS> |