Skip to content

Commit c5eb2de

Browse files
author
Richard Jones
committed
forgot to fix the templating for last change
1 parent 2eb35b9 commit c5eb2de

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

roundup/htmltemplate.py

Lines changed: 8 additions & 5 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.88 2002-04-24 08:34:35 rochecompaan Exp $
18+
# $Id: htmltemplate.py,v 1.89 2002-05-15 06:34:47 richard Exp $
1919

2020
__doc__ = """
2121
Template engine.
@@ -434,10 +434,7 @@ def do_reldate(self, property, pretty=0):
434434
if pretty:
435435
if not self.nodeid:
436436
return _('now')
437-
pretty = interval.pretty()
438-
if pretty is None:
439-
pretty = value.pretty()
440-
return pretty
437+
return interval.pretty()
441438
return str(interval)
442439

443440
def do_download(self, property, **args):
@@ -1127,6 +1124,12 @@ def render(self, form):
11271124

11281125
#
11291126
# $Log: not supported by cvs2svn $
1127+
# Revision 1.88 2002/04/24 08:34:35 rochecompaan
1128+
# Sorting was applied to all nodes of the MultiLink class instead of
1129+
# the nodes that are actually linked to in the "field" template
1130+
# function. This adds about 20+ seconds in the display of an issue if
1131+
# your database has a 1000 or more issue in it.
1132+
#
11301133
# Revision 1.87 2002/04/03 06:12:46 richard
11311134
# Fix for date properties as labels.
11321135
#

0 commit comments

Comments
 (0)