Show
Ignore:
Timestamp:
01/12/04 15:52:03 (21 years ago)
Author:
jalet
Message:

Cuts the date string

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/cgi-bin/printquota.cgi

    r1274 r1276  
    2323# 
    2424# $Log$ 
     25# Revision 1.24  2004/01/12 14:52:03  jalet 
     26# Cuts the date string 
     27# 
    2528# Revision 1.23  2004/01/12 14:35:01  jalet 
    2629# Printing history added to CGI script. 
     
    268271                    elif job.JobAction == "WARN" :     
    269272                        oddevenclass = "warn" 
    270                     self.report.append('<tr class="%s">%s</tr>' % (oddevenclass, "".join(["<td>%s</td>" % h for h in (job.JobDate, job.User.Name, job.Printer.Name, job.PrinterPageCounter, job.JobId, job.JobSize, job.JobPrice, job.JobCopies, job.JobTitle, job.JobFileName, job.JobOptions, job.JobAction)]))) 
     273                    self.report.append('<tr class="%s">%s</tr>' % (oddevenclass, "".join(["<td>%s</td>" % h for h in (job.JobDate[:19], job.User.Name, job.Printer.Name, job.PrinterPageCounter, job.JobId, job.JobSize, job.JobPrice, job.JobCopies, job.JobTitle, job.JobFileName, job.JobOptions, job.JobAction)]))) 
    271274                self.report.append('</table>') 
    272275                dico = { "history" : 1,