From 1293d137b061f097190eda53e4e78214e18832e6 Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 16 Aug 2007 13:40:46 +0000 Subject: support hours 'usage' tracking for our own internal use (#1733) --- fs_selfservice/FS-SelfService/cgi/myaccount.html | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'fs_selfservice/FS-SelfService/cgi/myaccount.html') diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index 546ca1112..ef0740fd6 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -36,6 +36,41 @@ Hello <%= $name %>!

} %> +<%= + if ( defined($support_time) ) { + $OUT .= ''. + ''. + "

"; + } +%> + +<%= + if ( @tickets ) { + $OUT .= '
Support Time Remaining
$support_time
'. + ''. + ''. + ''; + my $col1 = "ffffff"; + my $col2 = "dddddd"; + my $col = $col1; + + foreach my $ticket ( @tickets ) { + my $td = qq!$td". $ticket->{'id'}. "". + $td. $ticket->{'subject'}. "". + $td. $ticket->{'priority'}. "". + $td. $ticket->{'name'}. "". + $td. $ticket->{'status'}. "". + ''; + $col = $col eq $col1 ? $col2 : $col1; + } + $OUT .= '
Open Tickets
#SubjectPriorityQueueStatus
!; + $OUT .= + "
'; + } else { + $OUT .= ''; + } +%> +
powered by freeside -- cgit v1.2.1