changeset 548:3f25182ed425

display superseder as html link in history.
author Engelbert Gruber <grubert@users.sourceforge.net>
date Thu, 17 Jan 2002 08:48:19 +0000
parents e4ef6df2345c
children 4d4f4c4b1f0a
files CHANGES.txt roundup/htmltemplate.py
diffstat 2 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Thu Jan 17 07:58:24 2002 +0000
+++ b/CHANGES.txt	Thu Jan 17 08:48:19 2002 +0000
@@ -2,8 +2,9 @@
 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:
--- a/roundup/htmltemplate.py	Thu Jan 17 07:58:24 2002 +0000
+++ b/roundup/htmltemplate.py	Thu Jan 17 08:48:19 2002 +0000
@@ -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 @@
             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 += '<br />superseder: '
+                        for ssdr in args[k]:
+                            arg_s += '<a href="issue%s">issue%s</a>,'%(ssdr,ssdr)
+                    else:
+                        arg_s += '%s: %s,'%(k,str(args[k]))
             else:
                 arg_s = str(args)
             # shouldnt _() be used ?
@@ -898,6 +903,9 @@
 
 #
 # $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
 #

Roundup Issue Tracker: http://roundup-tracker.org/