Skip to content

Commit f51f445

Browse files
author
Engelbert Gruber
committed
display superseder as html link in history.
1 parent 311be43 commit f51f445

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

44
2002-01-?? - 0.4.0??
5+
. display superseder as html link in history.
6+
. display links as html link in history (e.g. message history back to issue).
57
. handle attachments with no name (eg tnef)
6-
. display links a html link in history.
78

89
2002-01-16 - 0.4.0b2
910
Fixed:

roundup/htmltemplate.py

Lines changed: 10 additions & 2 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.59 2002-01-17 07:58:24 grubert Exp $
18+
# $Id: htmltemplate.py,v 1.60 2002-01-17 08:48:19 grubert Exp $
1919

2020
__doc__ = """
2121
Template engine.
@@ -463,7 +463,12 @@ def do_history(self, **args):
463463
elif type(args)==type({}):
464464
for k in args.keys():
465465
# special treatment of date, maybe links to files, authors, recipient ?
466-
arg_s += '%s: %s,'%(k,str(args[k]))
466+
if k=='superseder' and len(args[k])>0:
467+
arg_s += '<br />superseder: '
468+
for ssdr in args[k]:
469+
arg_s += '<a href="issue%s">issue%s</a>,'%(ssdr,ssdr)
470+
else:
471+
arg_s += '%s: %s,'%(k,str(args[k]))
467472
else:
468473
arg_s = str(args)
469474
# shouldnt _() be used ?
@@ -898,6 +903,9 @@ def render(self, form):
898903

899904
#
900905
# $Log: not supported by cvs2svn $
906+
# Revision 1.59 2002/01/17 07:58:24 grubert
907+
# . display links a html link in history.
908+
#
901909
# Revision 1.58 2002/01/15 00:50:03 richard
902910
# #502949 ] index view for non-issues and redisplay
903911
#

0 commit comments

Comments
 (0)