diff roundup/htmltemplate.py @ 721:c63b71a949a8

forgot to fix the templating for last change
author Richard Jones <richard@users.sourceforge.net>
date Wed, 15 May 2002 06:34:47 +0000
parents 709f8f1d5661
children 51c425129b35
line wrap: on
line diff
--- a/roundup/htmltemplate.py	Wed May 15 06:32:46 2002 +0000
+++ b/roundup/htmltemplate.py	Wed May 15 06:34:47 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.88 2002-04-24 08:34:35 rochecompaan Exp $
+# $Id: htmltemplate.py,v 1.89 2002-05-15 06:34:47 richard Exp $
 
 __doc__ = """
 Template engine.
@@ -434,10 +434,7 @@
         if pretty:
             if not self.nodeid:
                 return _('now')
-            pretty = interval.pretty()
-            if pretty is None:
-                pretty = value.pretty()
-            return pretty
+            return interval.pretty()
         return str(interval)
 
     def do_download(self, property, **args):
@@ -1127,6 +1124,12 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.88  2002/04/24 08:34:35  rochecompaan
+# Sorting was applied to all nodes of the MultiLink class instead of
+# the nodes that are actually linked to in the "field" template
+# function.  This adds about 20+ seconds in the display of an issue if
+# your database has a 1000 or more issue in it.
+#
 # Revision 1.87  2002/04/03 06:12:46  richard
 # Fix for date properties as labels.
 #

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