[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi ticket_summary.html, 1.1, 1.2
Mark Wells
mark at wavetail.420.am
Fri Jul 8 15:17:56 PDT 2011
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail.420.am:/tmp/cvs-serv29253/fs_selfservice/FS-SelfService/cgi
Modified Files:
ticket_summary.html
Log Message:
format ticket display, #13199
Index: ticket_summary.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/ticket_summary.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- ticket_summary.html 27 Jun 2011 07:11:01 -0000 1.1
+++ ticket_summary.html 8 Jul 2011 22:17:53 -0000 1.2
@@ -1,6 +1,6 @@
<SCRIPT TYPE="text/javascript" SRC="overlibmws.js"></SCRIPT>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">
-<TR><TH BGCOLOR="#ff6666" COLSPAN=8>Open Tickets</TH></TR>
+<TR><TH BGCOLOR="#ff6666" COLSPAN=15>Open Tickets</TH></TR>
<TR>
<%=
my $col1 = "ffffff";
@@ -25,20 +25,23 @@
push @titles, 'Estimated<BR>Minutes';
push @titles, 'Priority';
-$OUT .= join("\n", map { "<TH VALIGN=\"top\">$_</TH>" } @titles) . '</TR>';
+$OUT .= join("\n", map { "<TH VALIGN=\"top\">$_</TH><TH> </TH>" } @titles)
+ . '</TR>';
foreach my $ticket ( @tickets ) {
my $id = $ticket->{'id'};
my $td = qq!<TD BGCOLOR="#$col">!;
+ my $space = $td.' </TD>';
my $link = qq!<A HREF="${url}tktview;ticket_id=$id">!;
- $OUT .= '<TR>' . $td . $link . $id . '</A></TD>'.
-$td. $link . $ticket->{'subject'} . '</A></TD>'.
-$td. $ticket->{'queue'} . '</TD>'.
-$td. $ticket->{'status'} . '</TD>'.
-$td. $date_formatter->($ticket->{'created'}) . '</TD>'.
-$td. $date_formatter->($ticket->{'due'}) . '</TD>'.
+ $OUT .= '<TR>' .
+$td. $link . $id . '</A></TD>'. $space .
+$td. $link . $ticket->{'subject'} . '</A></TD>'. $space .
+$td. $ticket->{'queue'} . '</TD>'. $space .
+$td. $ticket->{'status'} . '</TD>'. $space .
+$td. $date_formatter->($ticket->{'created'}) . '</TD>'. $space .
+$td. $date_formatter->($ticket->{'due'}) . '</TD>'. $space .
qq!<TD BGCOLOR="#$col" ALIGN="right">!. ($ticket->{'timeestimated'} || '')
-. '</TD>'.
+. '</TD>'. $space .
qq!<TD BGCOLOR="#$col" ALIGN="right">!;
if ( $can_set_priority ) {
$OUT .= '<INPUT TYPE="hidden" NAME="ticket'.$id.'" VALUE="1">' .
@@ -58,7 +61,7 @@
$col = $col eq $col1 ? $col2 : $col1;
} #foreach my $ticket
if ( $can_set_priority ) {
- $OUT .= '<TR><TD COLSPAN=8 ALIGN="right">
+ $OUT .= '<TR><TD COLSPAN=15 ALIGN="right">
<INPUT TYPE="submit" VALUE="Save changes"></TD></TR></FORM>';
}
%>
More information about the freeside-commits
mailing list