|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
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 $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | Template engine. |
@@ -463,7 +463,12 @@ def do_history(self, **args): |
463 | 463 | elif type(args)==type({}): |
464 | 464 | for k in args.keys(): |
465 | 465 | # 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])) |
467 | 472 | else: |
468 | 473 | arg_s = str(args) |
469 | 474 | # shouldnt _() be used ? |
@@ -898,6 +903,9 @@ def render(self, form): |
898 | 903 |
|
899 | 904 | # |
900 | 905 | # $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 | +# |
901 | 909 | # Revision 1.58 2002/01/15 00:50:03 richard |
902 | 910 | # #502949 ] index view for non-issues and redisplay |
903 | 911 | # |
|
0 commit comments