|
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.62 2002-01-18 08:36:12 grubert Exp $ |
| 18 | +# $Id: htmltemplate.py,v 1.63 2002-01-21 02:59:10 richard Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | Template engine. |
@@ -535,9 +535,11 @@ def do_history(self, direction='descending'): |
535 | 535 | linked node no longer |
536 | 536 | exists</strike>''') |
537 | 537 | cell.append(' <strike>%s</strike>,\n'%label) |
538 | | - else: |
539 | | - cell.append(' <a href="%s%s">%s</a>,\n'%( |
540 | | - classname, linkid, label)) |
| 538 | + # "flag" this is done .... euwww |
| 539 | + label = None |
| 540 | + if label is not None: |
| 541 | + cell.append('%s: <a href="%s%s">%s</a>\n'%( |
| 542 | + classname, classname, args[k], label)) |
541 | 543 |
|
542 | 544 | elif isinstance(prop, hyperdb.Date) and args[k]: |
543 | 545 | d = date.Date(args[k]) |
@@ -1000,6 +1002,9 @@ def render(self, form): |
1000 | 1002 |
|
1001 | 1003 | # |
1002 | 1004 | # $Log: not supported by cvs2svn $ |
| 1005 | +# Revision 1.62 2002/01/18 08:36:12 grubert |
| 1006 | +# . add nowrap to history table date cell i.e. <td nowrap ... |
| 1007 | +# |
1003 | 1008 | # Revision 1.61 2002/01/17 23:04:53 richard |
1004 | 1009 | # . much nicer history display (actualy real handling of property types etc) |
1005 | 1010 | # |
|
0 commit comments