|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: htmltemplate.py,v 1.63 2002-01-21 02:59:10 richard Exp $ |
| 18 | +# $Id: htmltemplate.py,v 1.64 2002-01-21 03:25:59 richard Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | Template engine. |
@@ -538,8 +538,8 @@ def do_history(self, direction='descending'): |
538 | 538 | # "flag" this is done .... euwww |
539 | 539 | label = None |
540 | 540 | if label is not None: |
541 | | - cell.append('%s: <a href="%s%s">%s</a>\n'%( |
542 | | - classname, classname, args[k], label)) |
| 541 | + cell.append('%s: <a href="%s%s">%s</a>\n'%(k, |
| 542 | + classname, args[k], label)) |
543 | 543 |
|
544 | 544 | elif isinstance(prop, hyperdb.Date) and args[k]: |
545 | 545 | d = date.Date(args[k]) |
@@ -1002,6 +1002,10 @@ def render(self, form): |
1002 | 1002 |
|
1003 | 1003 | # |
1004 | 1004 | # $Log: not supported by cvs2svn $ |
| 1005 | +# Revision 1.63 2002/01/21 02:59:10 richard |
| 1006 | +# Fixed up the HTML display of history so valid links are actually displayed. |
| 1007 | +# Oh for some unit tests! :( |
| 1008 | +# |
1005 | 1009 | # Revision 1.62 2002/01/18 08:36:12 grubert |
1006 | 1010 | # . add nowrap to history table date cell i.e. <td nowrap ... |
1007 | 1011 | # |
|
0 commit comments