Changeset 1277 for pykota/trunk/pykota/reporters
- Timestamp:
- 01/12/04 16:12:50 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/reporters/html.py
r1274 r1277 22 22 # 23 23 # $Log$ 24 # Revision 1.7 2004/01/12 15:12:50 jalet 25 # Small fix for history 26 # 24 27 # Revision 1.6 2004/01/12 14:35:01 jalet 25 28 # Printing history added to CGI script. … … 79 82 else : 80 83 oddevenclass = "warn" 81 if not self.tool.config.getDisableHistory() :84 if (not self.tool.config.getDisableHistory()) and (not self.isgroup) : 82 85 name = '<a href="%s?username=%s&printername=%s&history=1">%s</a>' % (os.environ.get("SCRIPT_NAME", ""), name, printer.Name, name) 83 86 self.report.append('<tr class="%s">%s</tr>' % (oddevenclass, "".join(["<td>%s</td>" % h for h in (name, reached, pagecounter, soft, hard, balance, datelimit or " ", lifepagecounter, lifetimepaid)])))