[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi myaccount.html, 1.21, 1.22
Mark Wells
mark at wavetail.420.am
Mon Jun 27 00:19:20 PDT 2011
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail.420.am:/tmp/cvs-serv29609/fs_selfservice/FS-SelfService/cgi
Modified Files:
myaccount.html
Log Message:
self-service ticket priority and edit subject, #13199
Index: myaccount.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/myaccount.html,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -d -r1.21 -r1.22
--- myaccount.html 17 Dec 2010 19:32:06 -0000 1.21
+++ myaccount.html 27 Jun 2011 07:19:18 -0000 1.22
@@ -82,33 +82,6 @@
}
%>
-<%=
- if ( @tickets ) {
- $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
- '<TR><TH BGCOLOR="#ff6666" COLSPAN=6>Open Tickets</TH></TR>'.
- '<TR><TH>#</TH><TH>Subject</TH><TH>Priority</TH><TH>Queue</TH>'.
- '<TH>Status</TH><TH>Created</TH></TR>';
- my $col1 = "ffffff";
- my $col2 = "dddddd";
- my $col = $col1;
-
- foreach my $ticket ( @tickets ) {
- my $td = qq!<TD BGCOLOR="#$col">!;
- my $link = qq!<A HREF="${url}tktview;ticket_id=$ticket->{id}">!;
- $OUT .=
- "<TR>$td $link". $ticket->{'id'}. "</A></TD>".
- $td. $ticket->{'subject'}. "</TD>".
- $td. ($ticket->{'content'} || $ticket->{'priority'}). "</TD>".
- $td. $ticket->{'queue'}. "</TD>".
- $td. $ticket->{'status'}. "</TD>".
- $td. $ticket->{'created'}. "</TD>".
- '</TR>';
- $col = $col eq $col1 ? $col2 : $col1;
- }
- $OUT .= '</TABLE>';
- } else {
- $OUT .= '';
- }
-%>
+<%= include('ticket_summary') if @tickets %>
<%= include('footer') %>
More information about the freeside-commits
mailing list