Skip to content

Commit 4b2bbd2

Browse files
author
Richard Jones
committed
oops
1 parent 9170043 commit 4b2bbd2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

roundup/htmltemplate.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
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 $
1919

2020
__doc__ = """
2121
Template engine.
@@ -538,8 +538,8 @@ def do_history(self, direction='descending'):
538538
# "flag" this is done .... euwww
539539
label = None
540540
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))
543543

544544
elif isinstance(prop, hyperdb.Date) and args[k]:
545545
d = date.Date(args[k])
@@ -1002,6 +1002,10 @@ def render(self, form):
10021002

10031003
#
10041004
# $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+
#
10051009
# Revision 1.62 2002/01/18 08:36:12 grubert
10061010
# . add nowrap to history table date cell i.e. <td nowrap ...
10071011
#

0 commit comments

Comments
 (0)