From: richard Date: Mon, 21 Jan 2002 02:59:10 +0000 (+0000) Subject: Fixed up the HTML display of history so valid links are actually displayed. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2834a7ca4a63766dacd0b8bfa5be76a4df560134;p=roundup.git Fixed up the HTML display of history so valid links are actually displayed. Oh for some unit tests! :( git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@568 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index c60ddfd..f551ae4 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: htmltemplate.py,v 1.62 2002-01-18 08:36:12 grubert Exp $ +# $Id: htmltemplate.py,v 1.63 2002-01-21 02:59:10 richard Exp $ __doc__ = """ Template engine. @@ -535,9 +535,11 @@ class TemplateFunctions: linked node no longer exists''') cell.append(' %s,\n'%label) - else: - cell.append(' %s,\n'%( - classname, linkid, label)) + # "flag" this is done .... euwww + label = None + if label is not None: + cell.append('%s: %s\n'%( + classname, classname, args[k], label)) elif isinstance(prop, hyperdb.Date) and args[k]: d = date.Date(args[k]) @@ -1000,6 +1002,9 @@ class NewItemTemplate(TemplateFunctions): # # $Log: not supported by cvs2svn $ +# Revision 1.62 2002/01/18 08:36:12 grubert +# . add nowrap to history table date cell i.e.