From: grubert Date: Thu, 17 Jan 2002 08:48:19 +0000 (+0000) Subject: . display superseder as html link in history. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fa908103cfa9dc7ff609cb3675dad800c1bf9f97;p=roundup.git . display superseder as html link in history. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@560 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 787803d..b43375b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,8 +2,9 @@ This file contains the changes to the Roundup system over time. The entries are given with the most recent entry first. 2002-01-?? - 0.4.0?? + . display superseder as html link in history. + . display links as html link in history (e.g. message history back to issue). . handle attachments with no name (eg tnef) - . display links a html link in history. 2002-01-16 - 0.4.0b2 Fixed: diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index 33213ae..1c449c1 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.59 2002-01-17 07:58:24 grubert Exp $ +# $Id: htmltemplate.py,v 1.60 2002-01-17 08:48:19 grubert Exp $ __doc__ = """ Template engine. @@ -463,7 +463,12 @@ class TemplateFunctions: elif type(args)==type({}): for k in args.keys(): # special treatment of date, maybe links to files, authors, recipient ? - arg_s += '%s: %s,'%(k,str(args[k])) + if k=='superseder' and len(args[k])>0: + arg_s += '
superseder: ' + for ssdr in args[k]: + arg_s += 'issue%s,'%(ssdr,ssdr) + else: + arg_s += '%s: %s,'%(k,str(args[k])) else: arg_s = str(args) # shouldnt _() be used ? @@ -898,6 +903,9 @@ class NewItemTemplate(TemplateFunctions): # # $Log: not supported by cvs2svn $ +# Revision 1.59 2002/01/17 07:58:24 grubert +# . display links a html link in history. +# # Revision 1.58 2002/01/15 00:50:03 richard # #502949 ] index view for non-issues and redisplay #