Changeset 2056 for pykota/trunk/cgi-bin

Show
Ignore:
Timestamp:
02/13/05 23:22:03 (20 years ago)
Author:
jalet
Message:

Added missing fields

Files:
1 modified

Legend:

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

    r2032 r2056  
    2424# 
    2525# $Log$ 
     26# Revision 1.45  2005/02/13 22:22:03  jalet 
     27# Added missing fields 
     28# 
    2629# Revision 1.44  2005/01/19 08:49:41  jalet 
    2730# Now dumpykota.cgi behaves like printquota.cgi wrt the REMOTE_USER environment 
     
    332335            else : 
    333336                self.report.append('<table class="pykotatable" border="1">') 
    334                 headers = [_("Date"), _("Action"), _("User"), _("Printer"), _("Hostname"), _("JobId"), _("JobSize"), _("JobPrice"), _("Copies"), _("JobBytes"), _("PageCounter"), _("Title"), _("Filename"), _("Options")] 
     337                headers = [_("Date"), _("Action"), _("User"), _("Printer"), \ 
     338                           _("Hostname"), _("JobId"), _("JobSize"), \ 
     339                           _("JobPrice"), _("Copies"), _("JobBytes"), \ 
     340                           _("PageCounter"), _("Title"), _("Filename"), \ 
     341                           _("Options"), _("MD5Sum"), _("BillingCode"), \ 
     342                           _("Pages")] 
    335343                self.report.append('<tr class="pykotacolsheader">%s</tr>' % "".join(["<th>%s</th>" % h for h in headers])) 
    336344                oddeven = 0 
     
    351359                    else :     
    352360                        hostname_url = None 
    353                     self.report.append('<tr class="%s">%s</tr>' % (oddevenclass, "".join(["<td>%s</td>" % (h or "&nbsp;") for h in (job.JobDate[:19], job.JobAction, username_url, printername_url, hostname_url, job.JobId, job.JobSize, job.JobPrice, job.JobCopies, job.JobSizeBytes, job.PrinterPageCounter, job.JobTitle, job.JobFileName, job.JobOptions)]))) 
     361                    self.report.append('<tr class="%s">%s</tr>' % (oddevenclass, "".join(["<td>%s</td>" % (h or "&nbsp;") for h in (job.JobDate[:19], job.JobAction, username_url, printername_url, hostname_url, job.JobId, job.JobSize, job.JobPrice, job.JobCopies, job.JobSizeBytes, job.PrinterPageCounter, job.JobTitle, job.JobFileName, job.JobOptions, job.JobMD5Sum, job.JobBillingCode, job.JobPages)]))) 
    354362                self.report.append('</table>') 
    355363                dico = { "history" : 1,