Changeset 2584 for pykota/trunk/cgi-bin

Show
Ignore:
Timestamp:
11/15/05 22:47:29 (19 years ago)
Author:
jerome
Message:

Introduce the onbackenderror directive.
Make problems caused by real backend failures appear
as such in the printing history.

Files:
1 modified

Legend:

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

    r2578 r2584  
    228228                        elif job.JobAction == "WARN" :     
    229229                            oddevenclass = "warn" 
     230                        elif job.JobAction == "PROBLEM" : 
     231                            oddevenclass = "problem" 
    230232                        username_url = '<a href="%s?%s">%s</a>' % (os.environ.get("SCRIPT_NAME", ""), urllib.urlencode({"history" : 1, "username" : job.UserName}), job.UserName) 
    231233                        printername_url = '<a href="%s?%s">%s</a>' % (os.environ.get("SCRIPT_NAME", ""), urllib.urlencode({"history" : 1, "printername" : job.PrinterName}), job.PrinterName)